We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32b24b3 commit 6a86b9aCopy full SHA for 6a86b9a
1 file changed
.github/workflows/create-release.yml
@@ -41,7 +41,7 @@ jobs:
41
- if: steps.version-type.outputs.version-type != 'production'
42
name: Set version
43
run: |
44
- BRANCH_NAME=${{ github.ref }}
+ BRANCH_NAME=$(git symbolic-ref --short HEAD 2>/dev/null || git rev-parse --short HEAD)
45
COMMITISH=${{ github.sha }}
46
NOW=$(date +%Y%m%d%H%M)
47
0 commit comments