Skip to content

Commit 9cbd508

Browse files
committed
mm
1 parent d99c92b commit 9cbd508

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,12 @@ jobs:
124124
- name: Get version
125125
if: matrix.target
126126
id: version
127-
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
127+
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
128133
- name: Create tar.gz archive (Unix)
129134
if: matrix.target && runner.os != 'Windows'
130135
run: |

0 commit comments

Comments
 (0)