File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1- name : CI/CD
1+ name : ci/cd
22
33on :
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 }}
You can’t perform that action at this time.
0 commit comments