Skip to content

Commit

Permalink
ci: update release files references
Browse files Browse the repository at this point in the history
  • Loading branch information
octo-gone committed Aug 6, 2024
1 parent 1c26558 commit 6d1c7db
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ jobs:
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Add version to environment vars
run: |
PROJECT_NAME=$(poetry version | awk {'print $1'})
PROJECT_VERSION=$(poetry version --short)
echo "PROJECT_NAME=$PROJECT_NAME" >> $GITHUB_ENV
echo "PROJECT_VERSION=$PROJECT_VERSION" >> $GITHUB_ENV
- name: Check if tag version matches project version
run: |
Expand All @@ -58,7 +56,7 @@ jobs:
with:
draft: true
files: |
dist/${{env.PROJECT_NAME}}-${{env.PROJECT_VERSION}}-py3-none-any.whl
dist/${{env.PROJECT_NAME}}-${{env.PROJECT_VERSION}}.tar.gz
dist/jinja2_components-${{env.PROJECT_VERSION}}-py3-none-any.whl
dist/jinja2_components-${{env.PROJECT_VERSION}}.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6d1c7db

Please sign in to comment.