Skip to content

Commit c773c07

Browse files
committed
Only create release if a new tag was created
1 parent 7944dac commit c773c07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +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 != '') }}
32+
if: ${{ (steps.version.outputs.old_tag != '') }}
3333
with:
3434
tag_name: ${{ steps.version.outputs.new_tag }}
3535
name: Release ${{ steps.version.outputs.new_tag }}

0 commit comments

Comments
 (0)