Skip to content

Commit

Permalink
Merge pull request #1245 from jakob-keller/validate-version-in-ci
Browse files Browse the repository at this point in the history
check that git tag matches version in CI/CD
  • Loading branch information
jakob-keller authored Dec 29, 2024
2 parents f9975dd + ef15f97 commit 24108bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,9 @@ jobs:
with:
name: python-package-distributions
path: dist/
- name: Check if distribution 📦 names match git tag
run: |
test -f "dist/aiobotocore-${{ github.ref_name }}.tar.gz"
test -f "dist/aiobotocore-${{ github.ref_name }}-py3-none-any.whl"
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 24108bf

Please sign in to comment.