Skip to content

Commit e67a8ba

Browse files
committed
do not archive binaries
1 parent e50db45 commit e67a8ba

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
release:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
@@ -29,7 +29,7 @@ jobs:
2929
uses: goreleaser/goreleaser-action@v6
3030
with:
3131
distribution: goreleaser
32-
version: latest
32+
version: "~> v2"
3333
args: release --clean --config goreleaser.yml
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

goreleaser.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ upx:
2020
- enabled: true
2121
compress: best
2222

23-
# archives:
24-
# - name_template: '{{ .ProjectName }}_{{ replace .Version "v" "" }}_{{ .Os }}_{{ .Arch }}'
25-
# files:
26-
# - "plugin/show-{{ .ProjectName }}.py"
23+
archives:
24+
- name_template: '{{ .ProjectName }}_{{ replace .Version "v" "" }}_{{ .Os }}_{{ .Arch }}'
25+
format: binary
2726

2827
checksum:
2928
name_template: checksums.txt

0 commit comments

Comments
 (0)