Skip to content

Commit

Permalink
Merge pull request #324 from Scalr/SCALRCORE-31551
Browse files Browse the repository at this point in the history
SCALRCORE-31551 Provider > Adopt BC changes in GoReleaser v2
  • Loading branch information
vmotso authored Jun 21, 2024
2 parents b0c5679 + 98d1115 commit fb69bad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@ jobs:
with:
go-version: "1.19"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v6
with:
version: v1.8.3
args: release --skip-publish
version: "~> v2"
args: release --skip=publish
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
- name: Upload Provider to Registry
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
with:
go-version: "1.19"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --rm-dist
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
Expand Down
4 changes: 3 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 2

before:
hooks:
- go mod download
Expand Down Expand Up @@ -26,7 +28,7 @@ archives:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'

changelog:
skip: true
disable: true

checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
Expand Down

0 comments on commit fb69bad

Please sign in to comment.