Skip to content

Commit 80b1218

Browse files
committed
use WIPACrepo/wipac-dev-next-version-action@v1.1 and test [no-bump]
1 parent 9d0d112 commit 80b1218

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/cicd.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI/CD
1+
name: ci/cd
22

33
on:
44
push:
@@ -152,7 +152,7 @@ jobs:
152152
with:
153153
python-version: "${{ fromJSON(needs.py-versions.outputs.matrix)[0] }}"
154154

155-
- uses: WIPACrepo/wipac-dev-next-version-action@v1.0
155+
- uses: WIPACrepo/wipac-dev-next-version-action@v1.1
156156
id: next-version
157157
with:
158158
force-patch-if-no-commit-token: true
@@ -171,13 +171,15 @@ jobs:
171171
git push origin --tags
172172
173173
- if: steps.next-version.outputs.version != ''
174-
uses: WIPACrepo/wipac-dev-py-build-action@v1.0 # creates dist/
174+
uses: WIPACrepo/wipac-dev-py-build-action@v1.0
175+
# -> uses the most recent git tag for versioning
176+
# -> creates 'dist/' files
175177

176178
- if: steps.next-version.outputs.version != ''
177179
uses: softprops/action-gh-release@v2
178180
with:
179181
files: dist/*
180-
tag_name: v${{ steps.next-version.outputs.version }} # note: prepend 'v'
182+
tag_name: v${{ steps.next-version.outputs.version }} # must match git tag above
181183
generate_release_notes: true
182184
env:
183185
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)