We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d99c92b commit 9cbd508Copy full SHA for 9cbd508
1 file changed
.github/workflows/ci.yml
@@ -124,7 +124,12 @@ jobs:
124
- name: Get version
125
if: matrix.target
126
id: version
127
- run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
+ run: |
128
+ if [[ "$GITHUB_REF" == refs/tags/* ]]; then
129
+ echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
130
+ else
131
+ echo "VERSION=dev" >> $GITHUB_OUTPUT
132
+ fi
133
- name: Create tar.gz archive (Unix)
134
if: matrix.target && runner.os != 'Windows'
135
run: |
0 commit comments