Skip to content

Commit

Permalink
style(version): fix release version (#38)
Browse files Browse the repository at this point in the history
fix release version
  • Loading branch information
XdpCs authored Oct 24, 2024
1 parent ed9417f commit ae4b9cf
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com

# The lines below are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/need to use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

version: 2

project_name: manuscript-cli

before:
hooks:
# You may remove this if you don't use go modules.
- go mod download

builds:
Expand All @@ -24,18 +17,13 @@ builds:

archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}-
{{- title .Os }}-
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives
manuscript-core-{{.Os }}-{{.Arch}}
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "manuscript-core-checksums.txt"

changelog:
sort: asc
Expand Down

0 comments on commit ae4b9cf

Please sign in to comment.