Skip to content

Commit

Permalink
fix: install script and release assets
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Jun 7, 2024
1 parent f33d7fd commit 8e11bca
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 119 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Post release"
on:
release:
types:
- published

jobs:
install:
name: Install script
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- run: curl -sSfL https://raw.githubusercontent.com/golangci/misspell/master/install-misspell.sh | sh -s -- -b "./bin-misspell"
11 changes: 8 additions & 3 deletions goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@ builds:
- CGO_ENABLED=0

archives:
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE
- format: tar.gz
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
files:
- LICENSE

checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
Expand Down
Loading

0 comments on commit 8e11bca

Please sign in to comment.