Skip to content

Commit

Permalink
Append version to release name
Browse files Browse the repository at this point in the history
  • Loading branch information
mmosca committed Jan 22, 2025
1 parent bdf5861 commit 9f937f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,15 @@ jobs:
with:
path: artifacts
merge-multiple: true
- name: Get version
id: version
run: |
VERSION=$(grep version package.json | cut -d: -f2 | cut -d\" -f2)
echo "VERSION=${VERSION}" >> $GITHUB_ENV
- name: Upload release artifacts
uses: softprops/action-gh-release@v2
with:
name: inav-configurator-dev-${{ steps.date.outputs.today }}-${{ github.run_number }}-${{ github.sha }}
name: inav-configurator-${{ env.VERSION }}-dev-${{ steps.date.outputs.today }}-${{ github.run_number }}-${{ github.sha }}
tag_name: v${{ steps.date.outputs.today }}.${{ github.run_number }}
# To create release on a different repo, we need a token setup
token: ${{ secrets.NIGHTLY_TOKEN }}
Expand Down

0 comments on commit 9f937f6

Please sign in to comment.