Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
botway(fix): fix goreleaser config file
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed Jul 1, 2023
1 parent 245c016 commit 3c59554
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ builds:
- -X main.version={{ .Tag }}
- -X main.buildDate={{ .Env.BuildDate }}

id: macos
id: darwin
goos: [darwin]
goarch: [amd64, arm64, arm]

Expand All @@ -41,13 +41,11 @@ builds:

archives:
- id: unix
builds: [macos, linux, freebsd]
builds: [darwin, linux, freebsd]
<<: &archive_defaults
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Tag }}_{{ .Arch }}"

wrap_in_directory: "true"
replacements:
darwin: macos
format: zip
files:
- LICENSE
Expand Down
2 changes: 1 addition & 1 deletion create-botway-bot
1 change: 1 addition & 0 deletions installer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ pub fn install() {

"macos" => {
match &arch as &str {
// TODO: replace macos with darwin
"x86_64" => {
name = "botway_macos_".to_owned() + &latest_version + "_amd64"
}
Expand Down
2 changes: 1 addition & 1 deletion templates
Submodule templates updated 2 files
+10 −10 cpp.go
+6 −0 java-contents.go

0 comments on commit 3c59554

Please sign in to comment.