From 7196e21ae84e9f2c65c8e912e5a016cae630852c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Jun 2024 03:29:31 +0000 Subject: [PATCH] chore(deps): bump goreleaser/goreleaser-action from 5 to 6 Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5 to 6. - [Release notes](https://github.com/goreleaser/goreleaser-action/releases) - [Commits](https://github.com/goreleaser/goreleaser-action/compare/v5...v6) --- updated-dependencies: - dependency-name: goreleaser/goreleaser-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/release.yml | 2 +- scripts/cross-build.sh | 3 +-- scripts/cross-build/cross-build/templates/goreleaser.yml.tmpl | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e15378e..9cc92531 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,7 +83,7 @@ jobs: mv ./dist/**/*.tar.gz ./assets/ ls ./assets/ - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: version: latest args: release --clean -f ./scripts/cross-build/.goreleaser.yml diff --git a/scripts/cross-build.sh b/scripts/cross-build.sh index ce1a0d68..c8f31c1f 100755 --- a/scripts/cross-build.sh +++ b/scripts/cross-build.sh @@ -6,8 +6,7 @@ if [ -d "/scenarigo" ]; then fi -# TODO: --rm-dist is deprecated, use --clean -cmd="bash /entrypoint.sh --skip-publish --rm-dist --debug" +cmd="bash /entrypoint.sh --skip=publish --clean --verbose" if [ "${SNAPSHOT}" != "" ]; then echo "snapshot build" cmd="${cmd} --snapshot" diff --git a/scripts/cross-build/cross-build/templates/goreleaser.yml.tmpl b/scripts/cross-build/cross-build/templates/goreleaser.yml.tmpl index 076a932c..52469e3f 100644 --- a/scripts/cross-build/cross-build/templates/goreleaser.yml.tmpl +++ b/scripts/cross-build/cross-build/templates/goreleaser.yml.tmpl @@ -1,3 +1,4 @@ +version: 2 builds: - id: darwin-amd64 env: @@ -58,7 +59,7 @@ archives: - LICENSE - CREDITS checksum: - name_template: "{{ .ProjectName }}_v{{ .Version }}_go<< .GoVersion >>_checksums.txt" + version_template: "{{ .ProjectName }}_v{{ .Version }}_go<< .GoVersion >>_checksums.txt" snapshot: name_template: "{{ .Version }}-snapshot" changelog: