Skip to content

Commit 2572d71

Browse files
committed
Fix goreleaser publishing configs
1 parent cf75279 commit 2572d71

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎.github/workflows/main.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ jobs:
112112
steps:
113113
- name: Checkout
114114
uses: actions/checkout@v2
115-
- name: Unshallow
116-
run: git fetch --prune --unshallow
115+
with:
116+
fetch-depth: 0
117117
- uses: actions/setup-go@v1
118118
with:
119119
go-version: "1.15"
@@ -127,7 +127,7 @@ jobs:
127127
run: |
128128
go mod download
129129
- name: Run GoReleaser
130-
uses: goreleaser/goreleaser-action@v2.0.2
130+
uses: goreleaser/goreleaser-action@v2
131131
with:
132132
version: v0.138.0
133133
args: release --rm-dist

‎.goreleaser.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,4 @@ changelog:
4646

4747
release:
4848
name_template: "{{ .ProjectName }}-v{{ .Version }}"
49+
prerelease: auto

0 commit comments

Comments
 (0)