Skip to content

Commit

Permalink
fix: fix release bug
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkgos committed Apr 2, 2024
1 parent 4f7cd15 commit 8635998
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
52 changes: 26 additions & 26 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,33 @@ gomod:
proxy: true

builds:
# - id: ens
# main: .
# # If true, skip the build. for library projects.
# skip: true

- id: ormat
- id: ens
main: .
binary: ormat
dir: cmd/ormat
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
# - "386"
# - arm
# goarm:
# - "7"
mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -trimpath
ldflags:
- -s -w
# If true, skip the build. for library projects.
skip: true

# - id: ormat
# main: .
# binary: ormat
# dir: cmd/ormat
# env:
# - CGO_ENABLED=0
# goos:
# - linux
# - windows
# - darwin
# goarch:
# - amd64
# - arm64
# # - "386"
# # - arm
# # goarm:
# # - "7"
# mod_timestamp: "{{ .CommitTimestamp }}"
# flags:
# - -trimpath
# ldflags:
# - -s -w
archives:
- name_template: >-
{{ .ProjectName }}_
Expand Down
2 changes: 1 addition & 1 deletion cmd/ormat/command/helper_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"runtime"
)

const version = "v0.16.2"
const version = "v0.17.0"

func BuildVersion() string {
return fmt.Sprintf("%s\nGo Version: %s\nGo Os: %s\nGo Arch: %s\n",
Expand Down

0 comments on commit 8635998

Please sign in to comment.