Skip to content

Commit a5ba9cb

Browse files
committed
fix: ensure tag matches
1 parent 1e35f2a commit a5ba9cb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113

114114
create_changelog_and_release:
115115
runs-on: ubuntu-latest
116-
needs: build_and_test # make sure that tests & build work correctly
116+
needs: [extract_version, build_and_test] # make sure that tests & build work correctly
117117
steps:
118118
- name: Checkout Repo
119119
uses: actions/checkout@v4
@@ -130,6 +130,10 @@ jobs:
130130
env:
131131
GITHUB_REPO: ${{ github.repository }}
132132

133+
- name: Ensure tag matches
134+
if: ${{ steps.create_changelog.outputs.version }} != ${{ needs.extract_version.outputs.version }}
135+
run: exit 1
136+
133137
- name: 👇 Download Artifacts
134138
uses: actions/download-artifact@v4
135139
id: download

0 commit comments

Comments
 (0)