mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
```[tasklist] - [x] Update website - [x] Update blog entry with old link - [ ] ~~Replace Github URL in GUI Client updater with our own links~~ - [ ] Wait for CI to go green ``` Refs #4531 This proposes a unified scheme for deb and MSI packages, and moves Windows to that scheme. This breaks compatibility. Existing Clients won't recognize the new asset names once this is merged, so they won't show the "Firezone 1.0.0 is available" pop-up. --------- Co-authored-by: Jamil Bou Kheir <jamilbk@users.noreply.github.com>
38 lines
1.5 KiB
Makefile
38 lines
1.5 KiB
Makefile
# Format: Semver
|
|
# See discussion here: https://github.com/firezone/firezone/issues/2041
|
|
# and PR changing it here: https://github.com/firezone/firezone/pull/2949
|
|
apple-version = 1.0.2
|
|
android-version = 1.0.1
|
|
cargo-version = 1.0.0
|
|
elixir-version = 1.0.0
|
|
ci-version = 1.0.0
|
|
|
|
.PHONY: version apple-version android-version cargo-version ci-version elixir-version
|
|
|
|
ifeq ($(shell uname),Darwin)
|
|
SEDARG := -i ''
|
|
else
|
|
SEDARG := -i
|
|
endif
|
|
|
|
apple-version:
|
|
@find swift/ -name "project.pbxproj" -exec sed $(SEDARG) -e 's/MARKETING_VERSION = .*;/MARKETING_VERSION = $(apple-version);/' {} \;
|
|
|
|
android-version:
|
|
@find kotlin/ -name "*.gradle.kts" -exec sed $(SEDARG) -e '/mark:automatic-version/{n;s/versionName =.*/versionName = "$(android-version)"/;}' {} \;
|
|
|
|
cargo-version:
|
|
@# The website hosts permalinks to our published packages and binaries
|
|
@find website/ -name "redirects.js" -exec sed $(SEDARG) -e '/mark:automatic-version/{n;s/[0-9]*\.[0-9]*\.[0-9]*/$(cargo-version)/g;}' {} \;
|
|
@find rust/ -name "Cargo.toml" -exec sed $(SEDARG) -e '/mark:automatic-version/{n;s/[0-9]*\.[0-9]*\.[0-9]*/$(cargo-version)/;}' {} \;
|
|
@cd rust && cargo update --workspace
|
|
|
|
ci-version:
|
|
@find .github/ -name "*.yml" -exec sed $(SEDARG) -e '/mark:automatic-version/{n;s/[0-9]*\.[0-9]*\.[0-9]*/$(ci-version)/;}' {} \;
|
|
|
|
elixir-version:
|
|
@# Elixir can set its Application version from a file, but other components aren't so flexible.
|
|
@echo $(elixir-version) > elixir/VERSION
|
|
|
|
version: apple-version android-version cargo-version ci-version elixir-version
|