Skip to content

Commit

Permalink
Fix dist version in CI/CD on pushes to develop (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz authored Nov 15, 2021
1 parent a0d4e5e commit 86da33a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,40 @@ jobs:
--parallel-live
--skip-missing-interpreters false
--notest
- name: Setup git user as [bot]
if: >-
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
run: >
git config --local user.email
'github-actions[bot]@users.noreply.github.com'
git config --local user.name 'github-actions[bot]'
- name: >-
Tag the release in the local Git repo
as ${{ needs.pre-setup.outputs.git-tag }}
for setuptools-scm to se the desired version
if: >-
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
run: >-
git tag
-m '${{ needs.pre-setup.outputs.git-tag }}'
'${{ needs.pre-setup.outputs.git-tag }}'
--
${{ github.event.inputs.release-commitish }}
- name: Build dists
run: >-
python -m
tox
--parallel auto
--parallel-live
--skip-missing-interpreters false
- name: Verify that the artifacts with expected names got created
run: >-
ls -1
'dist/${{ needs.pre-setup.outputs.sdist-artifact-name }}'
'dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}'
- name: Store the distribution packages
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 86da33a

Please sign in to comment.