Skip to content

Commit

Permalink
Fix pypi public action tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Oct 3, 2024
1 parent fa6d5b2 commit 0ada486
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ name: Release
on:
release:
types: [released]
workflow_dispatch:
inputs:
tag_name:
description: "The tag to release"
required: true
type: string

concurrency:
group: release
Expand All @@ -33,7 +27,7 @@ jobs:

- name: Set version statically
run: |
VERSION="${{ github.event.release.tag_name }}${{ inputs.tag_name }}"
VERSION=${{ github.event.release.tag_name }}
sed -i "s/setup_requires=.*/version='$VERSION',/; s/use_scm_version=.*//" setup.py
echo "Version: $VERSION"
Expand Down Expand Up @@ -133,7 +127,7 @@ jobs:
id-token: write
environment:
name: pypi
url: https://pypi.org/project/python-minifier/${{ github.event.release.tag_name }}${{ inputs.tag_name }}
url: https://pypi.org/project/python-minifier/${{ github.event.release.tag_name }}
steps:
- name: Download distribution artifacts
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 0ada486

Please sign in to comment.