Skip to content

Commit 70ec9ba

Browse files
authored
[ci] Change the release tag format (#287)
1 parent 3ec59ac commit 70ec9ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,13 +300,13 @@ jobs:
300300
301301
- name: set variables
302302
run: |
303-
echo "TAG_NAME=$(git rev-parse --short $GITHUB_SHA)" >> $GITHUB_ENV
303+
echo "SHORT_SHA=$(git rev-parse --short $GITHUB_SHA)" >> $GITHUB_ENV
304304
echo "VERSION=$(echo "${{ github.ref_name }}" | cut -d'-' -f2)" >> $GITHUB_ENV
305305
306306
- uses: softprops/action-gh-release@v1
307307
with:
308-
name: ${{ env.VERSION }} (${{ env.TAG_NAME }})
309-
tag_name: ${{ env.TAG_NAME }}
308+
name: ${{ env.VERSION }} (${{ env.SHORT_SHA }})
309+
tag_name: ${{ env.VERSION }}-${{ env.SHORT_SHA }}
310310
target_commitish: ${{ github.sha }}
311311
files: tizen-*.zip
312312
body: |

0 commit comments

Comments
 (0)