Skip to content

Commit

Permalink
Update pypi-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasscheid authored Jan 11, 2024
1 parent 81a0696 commit 78e0c9e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install utilities
run: sudo apt-get install -y mmv
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
Expand All @@ -30,12 +28,6 @@ jobs:
--wheel
--outdir dist/
.
- name: Create timestamp
run: echo timestamp=$(date +%s) >> $GITHUB_ENV
- name: Rename built files to include timestamp
run: |
mmv -v dist/'*.*.*-*' dist/'#1.#2.#3-'$timestamp'-#4'
mmv -v dist/'*.tar.gz' dist/'#1-'$timestamp.tar.gz
- name: Publish distribution package to PyPI (test)
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit 78e0c9e

Please sign in to comment.