Skip to content

Commit

Permalink
try pypi workflow on release 2
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidcarbon committed Dec 12, 2024
1 parent 9779d8b commit 04f5c33
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ jobs:

- name: Create a Release
run: |
RELEASE_DATE=$(date +'%Y-%m-%d')
VERSION=$(cat pyproject.toml | cut -d'"' -f2)
RELEASE_DATE=$(date +'%Y-%m-%d')
RELEASE_TITLE="Release ${VERSION} (${RELEASE_DATE})"
gh release create "${UNIQUE_TAG}" dist/affinity-*.whl --title "Release ${VERSION} (${RELEASE_DATE})"
# git tag -f latest
# git push origin latest --force
gh release create "${VERSION}" dist/* -t "${RELEASE_TITLE}" --latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 04f5c33

Please sign in to comment.