Skip to content

Commit

Permalink
Merge branch 'release/2024.5.1' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexa committed Nov 13, 2024
2 parents bfd9f08 + 524a2a1 commit 4a0eb5f
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:

- name: Build
run: |
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o dist/suzu_linux_amd64 cmd/suzu/main.go
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o dist/suzu_darwin_amd64 cmd/suzu/main.go
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o dist/suzu_darwin_arm64 cmd/suzu/main.go
GOOS=linux GOARCH=amd64 make release
GOOS=darwin GOARCH=amd64 make release
GOOS=darwin GOARCH=arm64 make release
gzip dist/*
- name: Release
Expand Down
9 changes: 7 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@

## develop

- [FIX] リリース時の build 前に patch をあてるように修正する

### misc

## 2024.5.1

- [FIX] リリース時の build 前に patch をあてるように修正する
- @Hexa
- [ADD] リリース時の build を Makefile にまとめる
- @Hexa

## 2024.5.0

- [FIX] 高ビットレートの音声データの場合に、解析結果が送られてこない不具合を修正する
Expand Down
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.PHONY: all patch test

LIST := $(GOOS) $(GOARCH)
SUFFIX := $(shell printf "_%s" $(LIST))

all: patch
go build -o bin/suzu cmd/suzu/main.go

Expand All @@ -10,3 +13,10 @@ patch:

test:
@go test -v --race

release: patch
ifeq ($(SUFFIX),_)
CGO_ENABLED=0 go build -o dist/suzu cmd/suzu/main.go
else
CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -o dist/suzu$(SUFFIX) cmd/suzu/main.go
endif
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024.5.0
2024.5.1

0 comments on commit 4a0eb5f

Please sign in to comment.