Skip to content

Commit 8e11bca

Browse files
committed
fix: install script and release assets
1 parent f33d7fd commit 8e11bca

File tree

3 files changed

+152
-119
lines changed

3 files changed

+152
-119
lines changed

.github/workflows/post-release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "Post release"
2+
on:
3+
release:
4+
types:
5+
- published
6+
7+
jobs:
8+
install:
9+
name: Install script
10+
strategy:
11+
matrix:
12+
os: [ubuntu-latest, macos-latest, windows-latest]
13+
runs-on: ${{ matrix.os }}
14+
15+
steps:
16+
- run: curl -sSfL https://raw.githubusercontent.com/golangci/misspell/master/install-misspell.sh | sh -s -- -b "./bin-misspell"

goreleaser.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ builds:
1515
- CGO_ENABLED=0
1616

1717
archives:
18-
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
19-
files:
20-
- LICENSE
18+
- format: tar.gz
19+
wrap_in_directory: true
20+
format_overrides:
21+
- goos: windows
22+
format: zip
23+
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
24+
files:
25+
- LICENSE
2126

2227
checksum:
2328
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"

0 commit comments

Comments
 (0)