Skip to content

Commit 5499add

Browse files
Merge 0b065fd into 0f76e62
2 parents 0f76e62 + 0b065fd commit 5499add

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: "Place wintun.dll"
2424
run: cp deps/wintun/bin/amd64/wintun.dll ./
2525
- name: build
26-
uses: goreleaser/goreleaser-action@v5
26+
uses: goreleaser/goreleaser-action@v7
2727
env:
2828
BUILD_ENV: "development"
2929
with:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
password: ${{ secrets.GITHUB_TOKEN }}
9696
- name: Run GoReleaser
9797
if: steps.cache.outputs.cache-hit != 'true' # do not run if cache hit
98-
uses: goreleaser/goreleaser-action@v5
98+
uses: goreleaser/goreleaser-action@v7
9999
with:
100100
distribution: goreleaser-pro
101101
version: latest
@@ -143,7 +143,7 @@ jobs:
143143
overwrite: true
144144
- name: Github release
145145
if: steps.cache.outputs.cache-hit != 'true' && github.ref == 'refs/heads/master'
146-
uses: goreleaser/goreleaser-action@v5
146+
uses: goreleaser/goreleaser-action@v7
147147
with:
148148
distribution: goreleaser-pro
149149
version: latest

.goreleaser.2.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# This config targets the new flypkgs distribution system. Once all releases are
22
# being served by flypkgs, this file will replace .goreleaser.yml and .goreleaser.dev.yml
33

4+
version: 2
5+
46
env:
57
- BUILD_ENV={{if index .Env "BUILD_ENV"}}{{.Env.BUILD_ENV}}{{else}}production{{end}}
68

.goreleaser.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
env:
24
- BUILD_ENV={{if index .Env "BUILD_ENV"}}{{.Env.BUILD_ENV}}{{else}}production{{end}}
35

@@ -95,7 +97,7 @@ checksum:
9597
name_template: "checksums.txt"
9698

9799
snapshot:
98-
name_template: "{{.Version}}-{{.Branch}}.{{.CommitTimestamp}}"
100+
version_template: "{{.Version}}-{{.Branch}}.{{.CommitTimestamp}}"
99101

100102
changelog:
101103
sort: asc

0 commit comments

Comments
 (0)