Skip to content

Commit

Permalink
Update for goreleaser 2.0 (#1544)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething authored Jul 2, 2024
1 parent fa67a77 commit ebbaa70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
go-version: 1.21.x

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project_name: doctl

version: 2
builds:
- main: ./cmd/doctl/main.go
env:
Expand Down Expand Up @@ -50,4 +50,4 @@ release:
name: doctl

changelog:
skip: false
disable: false

0 comments on commit ebbaa70

Please sign in to comment.