Skip to content

Commit cdbefcd

Browse files
committed
Only create new release if a new tag was created
1 parent 59763dd commit cdbefcd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
RELEASE_BRANCHES: main
3030
- name: Create release
3131
uses: softprops/action-gh-release@v2
32+
if: ${{ (steps.version.outputs.new_tag != '') }}
3233
with:
3334
tag_name: ${{ steps.version.outputs.new_tag }}
3435
name: Release ${{ steps.version.outputs.new_tag }}

0 commit comments

Comments
 (0)