Skip to content

Commit

Permalink
More attempts to fix the release script
Browse files Browse the repository at this point in the history
Summary:

Test Plan:
  • Loading branch information
ndmitchell committed Feb 2, 2025
1 parent d3e02f4 commit 4620d86
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ jobs:
init:
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.create-release.outputs.upload_url }}
upload_url: ${{ steps.release.outputs.upload_url }}
filename: hlint-${{ steps.reftags_version.outputs._1 }}

steps:
- uses: rishabhgupta/split-by@v1
id: reftags_version
with:
string: ${{ github.ref }} # e.g. refs/tags/v0.11.1.1
split-by: 'v'

- uses: joutvhu/get-release@v1
id: create-release
id: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
latest: true

- uses: rishabhgupta/split-by@v1
id: reftags_version
with:
string: ${{ steps.release.outputs.tag_name }} # e.g. refs/tags/v0.11.1.1
split-by: 'v'

build:
needs: init
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 4620d86

Please sign in to comment.