Skip to content

Commit 6c5a5f6

Browse files
committed
chore(release): fix for when no release occurs
1 parent 46b2295 commit 6c5a5f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
GITHUB_TOKEN: ${{ github.token }}
3838

3939
# update version in package.yaml, so the --version option works correctly
40-
- run: |
40+
- if: ${{ steps.release.outputs.new_release_published == 'true' }}
41+
run: |
4142
new_version=$EPOCH.$MAJOR.$MINOR.$PATCH
4243
yq -i ".version = \"$new_version\"" package.yaml
4344
env:

0 commit comments

Comments
 (0)