Skip to content

Commit

Permalink
ci: release with version
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Apr 15, 2024
1 parent 5f97a80 commit a4928c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
jobs:
goreleaser:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 3 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ builds:
- linux
- windows
- darwin
ldflags:
- -s -w -X main.Version={{ .Version }} -X main.builtBy=goreleaser

archives:
- format: binary
name_template: >-
{{ .ProjectName }}_
{{ .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
Expand All @@ -40,6 +43,5 @@ changelog:
filters:
exclude:
- typos

# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

0 comments on commit a4928c3

Please sign in to comment.