Skip to content

Commit 5b17240

Browse files
committed
fix pre-release tag
1 parent d76ff4f commit 5b17240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/c-cpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
id: tag
3939
if: github.ref == 'refs/heads/master' && !cancelled()
4040
run: |
41-
echo "release_tag=$(echo ${GITHUB_SHA::4})--$(date +"%Y%m%d-%H%M"))" >> $GITHUB_OUTPUT
41+
echo "release_tag=$(echo $(date +"%Y%m%d-%H%M")--${GITHUB_SHA::4})" >> $GITHUB_OUTPUT
4242
echo "status=success" >> $GITHUB_OUTPUT
4343
4444
- name: Create changelog

0 commit comments

Comments
 (0)