Skip to content

Commit

Permalink
Try force fetching tags to get the current one
Browse files Browse the repository at this point in the history
  • Loading branch information
walles committed Feb 28, 2024
1 parent b1ba0f9 commit a256e87
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
- name: Print current revision
run: |
git describe --dirty
git fetch --tags
git describe --dirty
- name: Cache .tox directory
uses: actions/cache@v3
with:
Expand All @@ -54,7 +56,7 @@ jobs:
run: |
. ./env/bin/activate
pip install tox==${{ env.TOX_VERSION }}
- name: Prevent 0.0.0 releases
- name: Prevent 0.0.0 releases I
run: |
. ./env/bin/activate
tox -e version.py
Expand All @@ -64,7 +66,7 @@ jobs:
run: |
. ./env/bin/activate
tox
- name: Print debug info
- name: Prevent 0.0.0 releases II
run: |
ls dist/
! ls dist/ | grep '0.0.0'
Expand Down

0 comments on commit a256e87

Please sign in to comment.