Skip to content

Commit

Permalink
Merge pull request #855 from carvel-dev/goreleaser_fix_44.x
Browse files Browse the repository at this point in the history
Upgrading goreleaser in v0.44.x line
  • Loading branch information
sethiyash authored Jun 15, 2023
2 parents 077eadc + 7929d91 commit 8540341
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,21 @@ jobs:
with:
go-version: "1.20.5"

- name: generate website/generate.go
if: startsWith(github.ref, 'refs/tags/')
- name: Retrieve version
run: |
./hack/build-binaries.sh "$VERSION"
echo "TAG_NAME=$(echo ${{ github.ref }} | grep -Eo 'v[0-9].*')" >> $GITHUB_OUTPUT
id: version

- name: Run GoReleaser
# GoReleaser v2.5.0
uses: goreleaser/goreleaser-action@5e15885530fb01d81d1f24e8a6f54ebbd0fed7eb
# GoReleaser v4.2.0
uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b
if: startsWith(github.ref, 'refs/tags/')
with:
version: 0.181.1
args: release --rm-dist --debug
version: 1.16.2
args: release --rm-dist --debug ${{ env.SKIP_PUBLISH }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_CURRENT_TAG: ${{ steps.version.outputs.TAG_NAME }}

- uses: actions/github-script@v4
id: get-checksums-from-draft-release
Expand Down

0 comments on commit 8540341

Please sign in to comment.