Skip to content

Commit

Permalink
release flow cant find tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mahiki committed Dec 10, 2023
1 parent 140f6d5 commit 4dac0e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ jobs:
echo
echo "current ref is ${{ github.ref_name }}"
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $LATEST_TAG
echo "latest tag: $LATEST_TAG"
- name: Build poetry distribution
run: poetry build
run: |
git checkout $LATEST_TAG
poetry build
- name: Create release from tag
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 4dac0e4

Please sign in to comment.