Skip to content

Commit

Permalink
fix: change Go version in nightly release config to 1.21.2 (#3688)
Browse files Browse the repository at this point in the history
* fix: change Go version in nightly release config to `1.21.2`

The release action requires a version that includes the patch version to
be able to download the right tarball with the Go binary.

See https://github.com/wangyoucao577/go-release-action/blob/2ac3035fa4c4feed6a8272ce278b0577b93cf8e5/setup-go.sh#L24

* chore: change go releaser to use the lates Go version

Latest is the default but it's setted here to be explicit about that fact.
See https://github.com/wangyoucao577/go-release-action#parameters
  • Loading branch information
jeronimoalbi authored Oct 10, 2023
1 parent 6617cbe commit 7235deb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
goarch: [amd64, arm64]
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.38
- uses: wangyoucao577/go-release-action@v1.40
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
project_path: "./ignite/cmd/ignite"
Expand All @@ -71,5 +71,5 @@ jobs:
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
ldflags: -s -w -X github.com/ignite/cli/ignite/version.Version=nightly
goversion: "./go.mod"
goversion: "latest"
retry: 10

0 comments on commit 7235deb

Please sign in to comment.