Skip to content

Commit

Permalink
fix: handle 'v' prefix in release tag validation
Browse files Browse the repository at this point in the history
fix: handle 'v' prefix in release tag validation
  • Loading branch information
rjan90 committed Jan 10, 2025
1 parent 86db048 commit 2b75fa2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/create-release-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,24 @@ jobs:
- env:
GITHUB_TOKEN: ${{ github.token }}
run: |
# Remove any 'v' prefix from the tag
TAG="${{ github.event.inputs.tag }}"
TAG="${TAG#v}"
echo "Debug values:"
echo "Type: ${{ github.event.inputs.type }}"
echo "Tag: ${{ github.event.inputs.tag }}"
echo "Tag: $TAG"
echo "Level: ${{ github.event.inputs.level }}"
go run cmd/release/main.go create-issue \
--create-on-github true \
--type "${{ github.event.inputs.type }}" \
--tag "${{ github.event.inputs.tag }}" \
--tag "$TAG" \
--level "${{ github.event.inputs.level }}" \
--network-upgrade "${{ github.event.inputs.network-upgrade }}" \
--discussion-link "${{ github.event.inputs.discussion-link }}" \
--changelog-link "${{ github.event.inputs.changelog-link }}" \
--rc1-date "${{ github.event.inputs.rc1-date }}" \
--stable-date "${{ github.event.inputs.stable-date }}" \
--repo "filecoin-project/lotus"

0 comments on commit 2b75fa2

Please sign in to comment.