Skip to content

Commit 12d5f64

Browse files
authored
Update test_release.yml output dev version (#9)
1 parent 28a1bbf commit 12d5f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
id: output-dev-version
4848
# Don't output a dev version if the push was for a tag.
4949
run: |
50-
if [ ${{ startsWith(github.ref, 'refs/tags') }} ]; then
50+
if [[ "${{ startsWith(github.ref, 'refs/tags') }}" == "true" ]]; then
5151
echo "dev_version=" >> "$GITHUB_OUTPUT"
5252
else
5353
echo "dev_version=${{ env.suffix }}${{ env.iteration }}" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)