mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
- Update `CODE_SIGN_STYLE=Manual`. You'll need to make sure to click `Download manual profiles` in `Settings -> Account` in Xcode to have them show up and be usable for local development. This is required to do all this stuff from GitHub Actions. - Sign the Apple app for distribution on each PR - Publish the Apple app builds to App Store Connect on merges to `main`
26 lines
1.2 KiB
Makefile
26 lines
1.2 KiB
Makefile
# Format:
|
|
# MAJOR: This is the marketing version, e.g. 1. Don't change it.
|
|
# MINOR: This is the current version of the portal API in YYYYMMDD format. REST consumers will request
|
|
# this API from the portal with the X-Firezone-API-Version request header.
|
|
# Increment this for breaking API changes (e.g. once a quarter)
|
|
# PATCH: Increment this for each backwards-compatible release
|
|
# See discussion here: https://github.com/firezone/firezone/issues/2041
|
|
version = 1.20231001.0
|
|
|
|
.PHONY: version
|
|
|
|
ifeq ($(shell uname),Darwin)
|
|
SEDARG := -i ''
|
|
else
|
|
SEDARG := -i
|
|
endif
|
|
|
|
version:
|
|
@# Elixir can set its Application version from a file, but other components aren't so flexible.
|
|
@echo $(version) > elixir/VERSION
|
|
@find rust/ -name "Cargo.toml" -exec sed $(SEDARG) -e '/mark:automatic-version/{n;s/[0-9]*\.[0-9]*\.[0-9]*/$(version)/;}' {} \;
|
|
@find .github/ -name "*.yml" -exec sed $(SEDARG) -e '/mark:automatic-version/{n;s/[0-9]*\.[0-9]*\.[0-9]*/$(version)/;}' {} \;
|
|
@find swift/ -name "project.pbxproj" -exec sed $(SEDARG) -e 's/MARKETING_VERSION = .*;/MARKETING_VERSION = $(version);/' {} \;
|
|
@find kotlin/ -name "*.gradle.kts" -exec sed $(SEDARG) -e '/mark:automatic-version/{n;s/versionName =.*/versionName = "$(version)"/;}' {} \;
|
|
@cd rust && cargo check
|