We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b597c72 commit af3b68dCopy full SHA for af3b68d
.github/workflows/build-release.yml
@@ -21,6 +21,10 @@ jobs:
21
- name: Get short SHA
22
id: slug
23
run: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
24
+ - name: Get release version
25
+ id: tagversion
26
+ if: startsWith(github.ref, 'refs/tags/')
27
+ run: fullref="${{ github.ref }}"; tagversion=${fullref#"refs/tags/"}; echo "tagversion=${tagversion}" >> $GITHUB_OUTPUT
28
- name: Build firmware image
29
run: |
30
make COMPRESSION_RATIO=9
@@ -74,6 +78,6 @@ jobs:
74
78
with:
75
79
upload_url: ${{ steps.create_release.outputs.upload_url }}
76
80
asset_path: ./superfw.zip
77
- asset_name: superfw.zip
81
+ asset_name: superfw-${{ steps.tagversion.outputs.tagversion }}.zip
82
asset_content_type: application/zip
83
0 commit comments