Compare commits

...

6 Commits

Author SHA1 Message Date
c20e7de5c3 docs: update changelog for version 1.2.15
Some checks failed
Release / get-version-and-changelog (push) Successful in 7s
Release / github-release (push) Has been skipped
Release / gitea-release (push) Failing after 2s
2025-02-19 00:46:38 +01:00
55c3b3688a feat: update version to 1.2.15 and clean up Gitea release workflow 2025-02-19 00:46:34 +01:00
fea5932125 docs: update changelog for version 1.2.14
Some checks failed
Release / get-version-and-changelog (push) Successful in 8s
Release / github-release (push) Has been skipped
Release / gitea-release (push) Failing after 3s
2025-02-19 00:43:18 +01:00
04f557939d feat: update version to 1.2.14 and refactor release workflows for improved GitHub and Gitea support 2025-02-19 00:43:15 +01:00
58549a53e4 docs: update changelog for version 1.2.13 2025-02-19 00:32:43 +01:00
64a46e3e7d feat: update version to 1.2.13 and enhance release workflow with Python setup and Gitea support 2025-02-19 00:32:40 +01:00
5 changed files with 38 additions and 33 deletions

View File

@ -111,8 +111,4 @@ EOF
exit 1
fi
echo "Successfully uploaded $file"
done
}
}
}
}
done

View File

@ -11,15 +11,11 @@ on:
type: string
permissions:
contents: write # Required for creating releases
issues: read # Required for reading changelog
pull-requests: read # Required for reading changelog
contents: write
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write # Required for creating releases at job level
steps:
- uses: actions/checkout@v4
@ -35,8 +31,8 @@ jobs:
- name: Build Firmware
run: |
pio run -t buildfs # Build SPIFFS
pio run # Build firmware
pio run -t buildfs
pio run
- name: Merge firmware and SPIFFS
run: |
@ -53,7 +49,7 @@ jobs:
- name: Prepare OTA firmware
run: cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/filaman_ota.bin
- name: Create Release
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |

View File

@ -6,7 +6,7 @@ on:
- 'v*'
jobs:
prepare:
get-version-and-changelog:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.get_version.outputs.VERSION }}
@ -36,22 +36,20 @@ jobs:
echo "$CHANGELOG" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Determine provider
id: detect-provider
run: |
if [[ "$GITHUB_SERVER_URL" == "https://github.com" ]]; then
echo "provider=github" >> $GITHUB_OUTPUT
else
echo "provider=gitea" >> $GITHUB_OUTPUT
fi
github-release:
needs: get-version-and-changelog
if: github.server_url == 'https://github.com'
uses: ./.github/workflows/providers/github-release.yml
with:
version: ${{ needs.get-version-and-changelog.outputs.version }}
changelog: ${{ needs.get-version-and-changelog.outputs.changelog }}
secrets: inherit
release:
needs: prepare
runs-on: ubuntu-latest
steps:
- name: Run provider workflow
uses: ./.github/workflows/providers/${{ needs.prepare.outputs.provider == 'github' && 'github' || 'gitea' }}-release.yml
with:
version: ${{ needs.prepare.outputs.version }}
changelog: ${{ needs.prepare.outputs.changelog }}
secrets: inherit
gitea-release:
needs: get-version-and-changelog
if: github.server_url != 'https://github.com'
uses: ./.github/workflows/providers/gitea-release.yml
with:
version: ${{ needs.get-version-and-changelog.outputs.version }}
changelog: ${{ needs.get-version-and-changelog.outputs.changelog }}
secrets: inherit

View File

@ -1,5 +1,20 @@
# Changelog
## [1.2.15] - 2025-02-19
### Added
- update version to 1.2.15 and clean up Gitea release workflow
## [1.2.14] - 2025-02-19
### Added
- update version to 1.2.14 and refactor release workflows for improved GitHub and Gitea support
## [1.2.13] - 2025-02-19
### Added
- update version to 1.2.13 and enhance release workflow with Python setup and Gitea support
## [1.2.12] - 2025-02-19
### Added
- update version to 1.2.12 and refactor release workflows for improved provider detection and execution

View File

@ -9,7 +9,7 @@
; https://docs.platformio.org/page/projectconf.html
[common]
version = "1.2.12"
version = "1.2.15"
[env:esp32dev]
platform = espressif32