release: Update macOS project version atomically

This commit is contained in:
世界 2024-12-12 09:34:57 +08:00
parent 5cdf5c1d9e
commit dd9de694f8
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
6 changed files with 167 additions and 62 deletions

View file

@ -182,10 +182,16 @@ release_tvos: build_tvos upload_tvos_app_store
update_apple_version:
go run ./cmd/internal/update_apple_version
update_macos_version:
MACOS_PROJECT_VERSION=$(shell go run -v ./cmd/internal/app_store_connect next_macos_project_version) go run ./cmd/internal/update_apple_version
release_apple: lib_ios update_apple_version release_ios release_macos release_tvos release_macos_standalone
release_apple_beta: update_apple_version release_ios release_macos release_tvos
publish_testflight:
go run -v ./cmd/internal/app_store_connect publish_testflight
test:
@go test -v ./... && \
cd test && \
@ -204,11 +210,11 @@ lib_android:
lib_android_debug:
go run ./cmd/internal/build_libbox -target android -debug
lib_ios:
go run ./cmd/internal/build_libbox -target ios
lib_apple:
go run ./cmd/internal/build_libbox -target apple
lib_ios_debug:
go run ./cmd/internal/build_libbox -target ios -debug
lib_ios:
go run ./cmd/internal/build_libbox -target apple -platform ios -debug
lib:
go run ./cmd/internal/build_libbox -target android