Skip to content

Commit ad8a78a

Browse files
authored
Merge pull request rustsbi#37 from duskmoon314/release-action
ci: update tag Unreleased if needed
2 parents 80f276e + e8dd19c commit ad8a78a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ jobs:
8282
with:
8383
version: ${{ (steps.check.outputs.PRE_RELEASE && 'Unreleased') || github.ref_name }}
8484

85+
- name: Update Unreleased Tag
86+
if: ${{ steps.changelog-reader.outputs.version == 'Unreleased' }}
87+
uses: richardsimko/update-tag@v1
88+
with:
89+
tag_name: Unreleased
90+
env:
91+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
92+
8593
- name: Create Release
8694
uses: softprops/action-gh-release@v1
8795
with:

0 commit comments

Comments
 (0)