Skip to content

Commit

Permalink
Fixed test pypi versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
jernsting committed Nov 25, 2022
1 parent 8a28f5f commit 8fc5987
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,12 @@ jobs:
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Replace version number with commit hash
run: |
dt=$(date '+%Y.%m.%d.%H.%M.%S')
sed -i "s/^__version__.*/__version__ = '$dt'/g" setup.py
- name: Install pypa/build
run: pip install build pbr wheel
- name: Build a binary wheel and a source tarball
Expand Down

0 comments on commit 8fc5987

Please sign in to comment.