mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-19 14:25:13 +03:00
Add version to release name
This commit is contained in:
parent
93e7035547
commit
8df8bd87d9
1 changed files with 5 additions and 1 deletions
6
.github/workflows/nightly-build.yml
vendored
6
.github/workflows/nightly-build.yml
vendored
|
@ -27,10 +27,14 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
|
- name: Get version
|
||||||
|
run: |
|
||||||
|
VERSION=$(grep version package.json | cut -d: -f2 | cut -d\" -f2)
|
||||||
|
echo "VERSION=${VERSION}" >> $GITHUB_ENV
|
||||||
- name: Upload release artifacts
|
- name: Upload release artifacts
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
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 }}
|
tag_name: v${{ steps.date.outputs.today }}.${{ github.run_number }}
|
||||||
# To create release on a different repo, we need a token setup
|
# To create release on a different repo, we need a token setup
|
||||||
token: ${{ secrets.NIGHTLY_TOKEN }}
|
token: ${{ secrets.NIGHTLY_TOKEN }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue