chore: bump version to 1.1.0 and automate Gitea release tagging from package.json
All checks were successful
Build and Release / build (push) Successful in 5m39s
All checks were successful
Build and Release / build (push) Successful in 5m39s
This commit is contained in:
@@ -41,6 +41,12 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
ELECTRON_BUILDER_ALLOW_EMPTY_REPOSITORY: true
|
||||
|
||||
- name: Extract Version
|
||||
id: get_version
|
||||
run: |
|
||||
VERSION=$(node -p "require('./frontend/package.json').version")
|
||||
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Upload Release Artifacts
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
|
||||
@@ -49,8 +55,8 @@ jobs:
|
||||
frontend/release/*.AppImage
|
||||
frontend/release/*.deb
|
||||
frontend/release/*.exe
|
||||
tag_name: v${{ github.run_number }}
|
||||
name: Release v${{ github.run_number }}
|
||||
tag_name: v${{ steps.get_version.outputs.VERSION }}
|
||||
name: Release v${{ steps.get_version.outputs.VERSION }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user