ci: Publish new clients (#7291)

Fixes the roaming bug.
This commit is contained in:
Jamil
2024-11-08 14:58:06 -08:00
committed by GitHub
parent da743f2743
commit 1dda915376
20 changed files with 63 additions and 58 deletions

View File

@@ -155,9 +155,9 @@ jobs:
artifact: firezone-client-headless-linux
image_name: client
# mark:next-headless-version
release_name: headless-client-1.3.6
release_name: headless-client-1.3.7
# mark:next-headless-version
version: 1.3.6
version: 1.3.7
- package: firezone-relay
artifact: firezone-relay
image_name: relay

View File

@@ -46,19 +46,19 @@ jobs:
syms-extension: pdb
env:
# mark:next-gui-version
ARTIFACT_SRC: ./rust/gui-client/firezone-client-gui-${{ matrix.os }}_1.3.12_${{ matrix.arch }}
ARTIFACT_SRC: ./rust/gui-client/firezone-client-gui-${{ matrix.os }}_1.3.13_${{ matrix.arch }}
# mark:next-gui-version
ARTIFACT_DST: firezone-client-gui-${{ matrix.os }}_1.3.12_${{ matrix.arch }}
ARTIFACT_DST: firezone-client-gui-${{ matrix.os }}_1.3.13_${{ matrix.arch }}
AZURE_KEY_VAULT_URI: ${{ secrets.AZURE_KEY_VAULT_URI }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_CERT_NAME: ${{ secrets.AZURE_CERT_NAME }}
# mark:next-gui-version
BINARY_DEST_PATH: firezone-client-gui-${{ matrix.os }}_1.3.12_${{ matrix.arch }}
BINARY_DEST_PATH: firezone-client-gui-${{ matrix.os }}_1.3.13_${{ matrix.arch }}
# Seems like there's no way to de-dupe env vars that depend on each other
# mark:next-gui-version
FIREZONE_GUI_VERSION: 1.3.12
FIREZONE_GUI_VERSION: 1.3.13
RENAME_SCRIPT: ../../scripts/build/tauri-rename-${{ matrix.os }}.sh
TARGET_DIR: ../target
UPLOAD_SCRIPT: ../../scripts/build/tauri-upload-${{ matrix.os }}.sh

View File

@@ -50,10 +50,10 @@ jobs:
- release_name: gateway-1.4.1
config_name: release-drafter-gateway.yml
# mark:next-headless-version
- release_name: headless-client-1.3.6
- release_name: headless-client-1.3.7
config_name: release-drafter-headless-client.yml
# mark:next-gui-version
- release_name: gui-client-1.3.12
- release_name: gui-client-1.3.13
config_name: release-drafter-gui-client.yml
steps:
- uses: release-drafter/release-drafter@v6

View File

@@ -42,7 +42,7 @@ jobs:
elif [[ "${{ github.event.release.name }}" =~ headless* ]]; then
ARTIFACT=client
# mark:next-headless-version
VERSION="1.3.6"
VERSION="1.3.7"
else
echo "Shouldn't have gotten here. Exiting."
exit 1

View File

@@ -53,7 +53,7 @@ android {
targetSdk = 35
versionCode = (System.currentTimeMillis() / 1000 / 10).toInt()
// mark:next-android-version
versionName = "1.3.7"
versionName = "1.3.8"
multiDexEnabled = true
testInstrumentationRunner = "dev.firezone.android.core.HiltTestRunner"

10
rust/Cargo.lock generated
View File

@@ -1046,7 +1046,7 @@ checksum = "baf0a07a401f374238ab8e2f11a104d2851bf9ce711ec69804834de8af45c7af"
[[package]]
name = "connlib-client-android"
version = "1.3.7"
version = "1.3.8"
dependencies = [
"android_log-sys",
"backoff",
@@ -1074,7 +1074,7 @@ dependencies = [
[[package]]
name = "connlib-client-apple"
version = "1.3.9"
version = "1.3.10"
dependencies = [
"anyhow",
"backoff",
@@ -1999,7 +1999,7 @@ dependencies = [
[[package]]
name = "firezone-gui-client"
version = "1.3.12"
version = "1.3.13"
dependencies = [
"anyhow",
"atomicwrites",
@@ -2042,7 +2042,7 @@ dependencies = [
[[package]]
name = "firezone-gui-client-common"
version = "1.3.12"
version = "1.3.13"
dependencies = [
"anyhow",
"arboard",
@@ -2081,7 +2081,7 @@ dependencies = [
[[package]]
name = "firezone-headless-client"
version = "1.3.6"
version = "1.3.7"
dependencies = [
"anyhow",
"atomicwrites",

View File

@@ -1,7 +1,7 @@
[package]
name = "connlib-client-android"
# mark:next-android-version
version = "1.3.7"
version = "1.3.8"
edition = "2021"
[lib]

View File

@@ -1,7 +1,7 @@
[package]
name = "connlib-client-apple"
# mark:next-apple-version
version = "1.3.9"
version = "1.3.10"
edition = "2021"
[build-dependencies]

View File

@@ -1,7 +1,7 @@
[package]
name = "firezone-gui-client-common"
# mark:next-gui-version
version = "1.3.12"
version = "1.3.13"
edition = "2021"
[dependencies]

View File

@@ -1,7 +1,7 @@
[package]
name = "firezone-gui-client"
# mark:next-gui-version
version = "1.3.12"
version = "1.3.13"
description = "Firezone"
edition = "2021"
default-run = "firezone-gui-client"

View File

@@ -1,7 +1,7 @@
[package]
name = "firezone-headless-client"
# mark:next-headless-version
version = "1.3.6"
version = "1.3.7"
edition = "2021"
authors = ["Firezone, Inc."]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -589,7 +589,7 @@ impl<'a> Handler<'a> {
// The IPC service must use the GUI's version number, not the Headless Client's.
// But refactoring to separate the IPC service from the Headless Client will take a while.
// mark:next-gui-version
get_user_agent(None, "1.3.12"),
get_user_agent(None, "1.3.13"),
"client",
(),
ExponentialBackoffBuilder::default()

View File

@@ -18,18 +18,18 @@
# the relevant versions in order to push to a newly drafted release.
# Tracks the current version to use for generating download links and changelogs
current-apple-version = 1.3.8
current-android-version = 1.3.6
current-apple-version = 1.3.9
current-android-version = 1.3.7
current-gateway-version = 1.4.0
current-gui-version = 1.3.11
current-headless-version = 1.3.5
current-gui-version = 1.3.12
current-headless-version = 1.3.6
# Tracks the next version to release for each platform
next-apple-version = 1.3.9
next-android-version = 1.3.7
next-apple-version = 1.3.10
next-android-version = 1.3.8
next-gateway-version = 1.4.1
next-gui-version = 1.3.12
next-headless-version = 1.3.6
next-gui-version = 1.3.13
next-headless-version = 1.3.7
# macOS uses a slightly different sed syntax
ifeq ($(shell uname),Darwin)

View File

@@ -585,7 +585,7 @@
);
"LIBRARY_SEARCH_PATHS[sdk=iphoneos*]" = "$(CONNLIB_TARGET_DIR)/aarch64-apple-ios/debug";
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
MARKETING_VERSION = 1.3.9;
MARKETING_VERSION = 1.3.10;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = "-lconnlib";
PRODUCT_BUNDLE_IDENTIFIER = "$(inherited).debug.network-extension";
@@ -627,7 +627,7 @@
);
"LIBRARY_SEARCH_PATHS[sdk=iphoneos*]" = "$(CONNLIB_TARGET_DIR)/aarch64-apple-ios/release";
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
MARKETING_VERSION = 1.3.9;
MARKETING_VERSION = 1.3.10;
OTHER_LDFLAGS = "-lconnlib";
PRODUCT_BUNDLE_IDENTIFIER = "$(inherited).network-extension";
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -671,7 +671,7 @@
"LIBRARY_SEARCH_PATHS[arch=arm64]" = "$(CONNLIB_TARGET_DIR)/aarch64-apple-darwin/debug";
"LIBRARY_SEARCH_PATHS[arch=arm64e]" = "$(CONNLIB_TARGET_DIR)/aarch64-apple-darwin/debug";
"LIBRARY_SEARCH_PATHS[arch=x86_64]" = "$(CONNLIB_TARGET_DIR)/x86_64-apple-darwin/debug";
MARKETING_VERSION = 1.3.9;
MARKETING_VERSION = 1.3.10;
OTHER_LDFLAGS = "-lconnlib";
PRODUCT_BUNDLE_IDENTIFIER = "$(inherited).debug.network-extension";
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -714,7 +714,7 @@
"LIBRARY_SEARCH_PATHS[arch=arm64]" = "$(CONNLIB_TARGET_DIR)/aarch64-apple-darwin/release";
"LIBRARY_SEARCH_PATHS[arch=arm64e]" = "$(CONNLIB_TARGET_DIR)/aarch64-apple-darwin/release";
"LIBRARY_SEARCH_PATHS[arch=x86_64]" = "$(CONNLIB_TARGET_DIR)/x86_64-apple-darwin/release";
MARKETING_VERSION = 1.3.9;
MARKETING_VERSION = 1.3.10;
OTHER_LDFLAGS = "-lconnlib";
PRODUCT_BUNDLE_IDENTIFIER = "$(inherited).network-extension";
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -908,7 +908,7 @@
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MARKETING_VERSION = 1.3.9;
MARKETING_VERSION = 1.3.10;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = "$(inherited)";
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -959,7 +959,7 @@
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MARKETING_VERSION = 1.3.9;
MARKETING_VERSION = 1.3.10;
PRODUCT_BUNDLE_IDENTIFIER = "$(inherited)";
PRODUCT_MODULE_NAME = "$(PRODUCT_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME)";

View File

@@ -10,7 +10,7 @@ module.exports = [
source: "/dl/firezone-client-gui-windows/latest/x86_64",
destination:
// mark:current-gui-version
"https://www.github.com/firezone/firezone/releases/download/gui-client-1.3.11/firezone-client-gui-windows_1.3.11_x86_64.msi",
"https://www.github.com/firezone/firezone/releases/download/gui-client-1.3.12/firezone-client-gui-windows_1.3.12_x86_64.msi",
permanent: false,
},
/*
@@ -22,35 +22,35 @@ module.exports = [
source: "/dl/firezone-client-gui-linux/latest/x86_64",
destination:
// mark:current-gui-version
"https://www.github.com/firezone/firezone/releases/download/gui-client-1.3.11/firezone-client-gui-linux_1.3.11_x86_64.deb",
"https://www.github.com/firezone/firezone/releases/download/gui-client-1.3.12/firezone-client-gui-linux_1.3.12_x86_64.deb",
permanent: false,
},
{
source: "/dl/firezone-client-gui-linux/latest/aarch64",
destination:
// mark:current-gui-version
"https://www.github.com/firezone/firezone/releases/download/gui-client-1.3.11/firezone-client-gui-linux_1.3.11_aarch64.deb",
"https://www.github.com/firezone/firezone/releases/download/gui-client-1.3.12/firezone-client-gui-linux_1.3.12_aarch64.deb",
permanent: false,
},
{
source: "/dl/firezone-client-headless-linux/latest/x86_64",
destination:
// mark:current-headless-version
"https://www.github.com/firezone/firezone/releases/download/headless-client-1.3.5/firezone-client-headless-linux_1.3.5_x86_64",
"https://www.github.com/firezone/firezone/releases/download/headless-client-1.3.6/firezone-client-headless-linux_1.3.6_x86_64",
permanent: false,
},
{
source: "/dl/firezone-client-headless-linux/latest/aarch64",
destination:
// mark:current-headless-version
"https://www.github.com/firezone/firezone/releases/download/headless-client-1.3.5/firezone-client-headless-linux_1.3.5_aarch64",
"https://www.github.com/firezone/firezone/releases/download/headless-client-1.3.6/firezone-client-headless-linux_1.3.6_aarch64",
permanent: false,
},
{
source: "/dl/firezone-client-headless-linux/latest/armv7",
destination:
// mark:current-headless-version
"https://www.github.com/firezone/firezone/releases/download/headless-client-1.3.5/firezone-client-headless-linux_1.3.5_armv7",
"https://www.github.com/firezone/firezone/releases/download/headless-client-1.3.6/firezone-client-headless-linux_1.3.6_armv7",
permanent: false,
},
/*

View File

@@ -11,13 +11,13 @@ export async function GET(_req: NextRequest) {
const versions = {
portal: await get("deployed_sha"),
// mark:current-apple-version
apple: "1.3.8",
apple: "1.3.9",
// mark:current-android-version
android: "1.3.6",
android: "1.3.7",
// mark:current-gui-version
gui: "1.3.11",
gui: "1.3.12",
// mark:current-headless-version
headless: "1.3.5",
headless: "1.3.6",
// mark:current-gateway-version
gateway: "1.4.0",
};

View File

@@ -11,7 +11,8 @@ export default function Android() {
title="Android"
>
{/* When you cut a release, remove any solved issues from the "known issues" lists over in `client-apps`. This must not be done when the issue's PR merges. */}
<Unreleased>
<Unreleased></Unreleased>
<Entry version="1.4.7" date={new Date("2024-11-08")}>
<ChangeItem pull="7263">
Mitigates a crash in case the maximum packet size is not respected.
</ChangeItem>
@@ -19,10 +20,10 @@ export default function Android() {
Prevents re-connections to the portal from hanging for longer than 5s.
</ChangeItem>
<ChangeItem pull="7288">
Fixes an issue where network roaming would cause Firezone to become
unresponsive.
</ChangeItem>
</Unreleased>
Fixes an issue where network roaming would cause Firezone to become
unresponsive.
</ChangeItem>
</Entry>
<Entry version="1.3.6" date={new Date("2024-10-31")}>
<ChangeItem>Handles DNS queries over TCP correctly.</ChangeItem>
<ChangeItem pull="7151">

View File

@@ -12,6 +12,12 @@ export default function Apple() {
>
{/* When you cut a release, remove any solved issues from the "known issues" lists over in `client-apps`. This must not be done when the issue's PR merges. */}
<Unreleased></Unreleased>
<Entry version="1.3.9" date={new Date("2024-11-08")}>
<ChangeItem pull="7288">
Fixes an issue where network roaming would cause Firezone to become
unresponsive.
</ChangeItem>
</Entry>
<Entry version="1.3.8" date={new Date("2024-11-05")}>
<ChangeItem pull="7263">
Mitigates a crash in case the maximum packet size is not respected.
@@ -19,10 +25,6 @@ export default function Apple() {
<ChangeItem pull="7265">
Prevents re-connections to the portal from hanging for longer than 5s.
</ChangeItem>
<ChangeItem pull="7288">
Fixes an issue where network roaming would cause Firezone to become
unresponsive.
</ChangeItem>
</Entry>
<Entry version="1.3.7" date={new Date("2024-10-31")}>
<ChangeItem>Handles DNS queries over TCP correctly.</ChangeItem>

View File

@@ -14,12 +14,13 @@ export default function GUI({ title }: { title: string }) {
return (
<Entries href={href} arches={arches} title={title}>
{/* When you cut a release, remove any solved issues from the "known issues" lists over in `client-apps`. This must not be done when the issue's PR merges. */}
<Unreleased>
<Unreleased></Unreleased>
<Entry version="1.3.12" date={new Date("2024-11-08")}>
<ChangeItem pull="7288">
Fixes an issue where network roaming would cause Firezone to become
unresponsive.
</ChangeItem>
</Unreleased>
</Entry>
<Entry version="1.3.11" date={new Date("2024-11-05")}>
<ChangeItem pull="7263">
Mitigates a crash in case the maximum packet size is not respected.

View File

@@ -11,7 +11,8 @@ export default function Headless() {
return (
<Entries href={href} arches={arches} title="Linux headless">
{/* When you cut a release, remove any solved issues from the "known issues" lists over in `client-apps`. This must not be done when the issue's PR merges. */}
<Unreleased>
<Unreleased></Unreleased>
<Entry version="1.3.6" date={new Date("2024-11-08")}>
<ChangeItem pull="7263">
Mitigates a crash in case the maximum packet size is not respected.
</ChangeItem>
@@ -26,7 +27,7 @@ export default function Headless() {
Fixes an issue where subsequent SIGHUP signals after the first one
were ignored.
</ChangeItem>
</Unreleased>
</Entry>
<Entry version="1.3.5" date={new Date("2024-10-31")}>
<ChangeItem>Handles DNS queries over TCP correctly.</ChangeItem>
<ChangeItem pull="7164">