Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
b0888e7e63 | |||
238a84a8a2 | |||
59cc00ca13 | |||
ab083f5f57 | |||
c111573206 | |||
52b2494e52 | |||
069ec2d7a1 | |||
94e35ae86e | |||
d71e3d8184 |
18
.github/workflows/github-release.yml
vendored
18
.github/workflows/github-release.yml
vendored
@ -2,14 +2,23 @@ name: GitHub Release
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
secrets:
|
||||||
|
RELEASE_TOKEN:
|
||||||
|
description: 'GitHub token for release creation'
|
||||||
|
required: true
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-release:
|
create-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
#permissions:
|
permissions:
|
||||||
# contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
@ -97,12 +106,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Create GitHub Release
|
- name: Create GitHub Release
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
VERSION=${{ steps.get_version.outputs.VERSION }}
|
VERSION=${{ steps.get_version.outputs.VERSION }}
|
||||||
|
cd .pio/build/esp32dev
|
||||||
|
|
||||||
# Create release with available files
|
# Create release with available files
|
||||||
cd .pio/build/esp32dev
|
|
||||||
FILES_TO_UPLOAD=""
|
FILES_TO_UPLOAD=""
|
||||||
|
|
||||||
# Always add firmware
|
# Always add firmware
|
||||||
@ -128,4 +137,3 @@ jobs:
|
|||||||
else
|
else
|
||||||
echo "Error: No files found to upload"
|
echo "Error: No files found to upload"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
|
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -5,6 +5,9 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
detect-provider:
|
detect-provider:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -23,8 +26,12 @@ jobs:
|
|||||||
|
|
||||||
github-release:
|
github-release:
|
||||||
needs: detect-provider
|
needs: detect-provider
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
if: needs.detect-provider.outputs.provider == 'github'
|
if: needs.detect-provider.outputs.provider == 'github'
|
||||||
uses: ./.github/workflows/github-release.yml
|
uses: ./.github/workflows/github-release.yml
|
||||||
|
secrets:
|
||||||
|
RELEASE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
gitea-release:
|
gitea-release:
|
||||||
needs: detect-provider
|
needs: detect-provider
|
||||||
|
18
CHANGELOG.md
18
CHANGELOG.md
@ -1,5 +1,23 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.3.14] - 2025-02-21
|
||||||
|
### Changed
|
||||||
|
- update webpages for version v1.3.14
|
||||||
|
- ci: update GitHub release workflow to improve file upload handling
|
||||||
|
|
||||||
|
|
||||||
|
## [1.3.13] - 2025-02-21
|
||||||
|
### Changed
|
||||||
|
- update webpages for version v1.3.13
|
||||||
|
- ci: update GitHub release workflow to use RELEASE_TOKEN for improved security
|
||||||
|
|
||||||
|
|
||||||
|
## [1.3.12] - 2025-02-21
|
||||||
|
### Changed
|
||||||
|
- update webpages for version v1.3.12
|
||||||
|
- ci: enhance GitHub release workflow with token handling and file upload improvements
|
||||||
|
|
||||||
|
|
||||||
## [1.3.11] - 2025-02-21
|
## [1.3.11] - 2025-02-21
|
||||||
### Changed
|
### Changed
|
||||||
- update webpages for version v1.3.11
|
- update webpages for version v1.3.11
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
version = "1.3.11"
|
version = "1.3.14"
|
||||||
|
|
||||||
[env:esp32dev]
|
[env:esp32dev]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
|
Reference in New Issue
Block a user