From e39ce22b365bc52a55461e243056f70e7d43f78e Mon Sep 17 00:00:00 2001 From: Jamil Date: Fri, 5 Jul 2024 13:19:30 -0700 Subject: [PATCH] chore: Publish new linux/windows clients (#5767) Adds the DNS fix. --- .github/workflows/_build_artifacts.yml | 4 ++-- .github/workflows/_tauri.yml | 16 ++++++++-------- .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 2 +- rust/Cargo.lock | 4 ++-- rust/gui-client/src-tauri/Cargo.toml | 2 +- rust/headless-client/Cargo.toml | 2 +- scripts/Makefile | 8 ++++---- website/redirects.js | 12 ++++++------ website/src/components/Changelog/GUI.tsx | 19 +++++++++++++++++++ website/src/components/Changelog/Headless.tsx | 16 ++++++++++++++++ 11 files changed, 62 insertions(+), 27 deletions(-) diff --git a/.github/workflows/_build_artifacts.yml b/.github/workflows/_build_artifacts.yml index 60914f10c..aca941b76 100644 --- a/.github/workflows/_build_artifacts.yml +++ b/.github/workflows/_build_artifacts.yml @@ -153,9 +153,9 @@ jobs: artifact: firezone-client-headless-linux image_name: client # mark:next-headless-version - release_name: headless-client-1.1.3 + release_name: headless-client-1.1.4 # mark:next-headless-version - version: 1.1.3 + version: 1.1.4 - package: firezone-relay artifact: firezone-relay image_name: relay diff --git a/.github/workflows/_tauri.yml b/.github/workflows/_tauri.yml index 5c11557db..a54cebb49 100644 --- a/.github/workflows/_tauri.yml +++ b/.github/workflows/_tauri.yml @@ -26,22 +26,22 @@ jobs: include: - runs-on: ubuntu-20.04 # mark:next-gui-version - binary-dest-path: firezone-client-gui-linux_1.1.4_x86_64 + binary-dest-path: firezone-client-gui-linux_1.1.5_x86_64 rename-script: ../../scripts/build/tauri-rename-ubuntu.sh upload-script: ../../scripts/build/tauri-upload-ubuntu.sh # mark:next-gui-version - syms-artifact: rust/gui-client/firezone-client-gui-linux_1.1.4_x86_64.dwp + syms-artifact: rust/gui-client/firezone-client-gui-linux_1.1.5_x86_64.dwp # mark:next-gui-version - pkg-artifact: rust/gui-client/firezone-client-gui-linux_1.1.4_x86_64.deb + pkg-artifact: rust/gui-client/firezone-client-gui-linux_1.1.5_x86_64.deb - runs-on: windows-2019 # mark:next-gui-version - binary-dest-path: firezone-client-gui-windows_1.1.4_x86_64 + binary-dest-path: firezone-client-gui-windows_1.1.5_x86_64 rename-script: ../../scripts/build/tauri-rename-windows.sh upload-script: ../../scripts/build/tauri-upload-windows.sh # mark:next-gui-version - syms-artifact: rust/gui-client/firezone-client-gui-windows_1.1.4_x86_64.pdb + syms-artifact: rust/gui-client/firezone-client-gui-windows_1.1.5_x86_64.pdb # mark:next-gui-version - pkg-artifact: rust/gui-client/firezone-client-gui-windows_1.1.4_x86_64.msi + pkg-artifact: rust/gui-client/firezone-client-gui-windows_1.1.5_x86_64.msi env: BINARY_DEST_PATH: ${{ matrix.binary-dest-path }} AZURE_KEY_VAULT_URI: ${{ secrets.AZURE_KEY_VAULT_URI }} @@ -74,7 +74,7 @@ jobs: if: ${{ runner.os == 'Windows' }} shell: bash # mark:next-gui-version - run: ../../scripts/build/sign.sh ../target/release/bundle/msi/Firezone_1.1.4_x64_en-US.msi + run: ../../scripts/build/sign.sh ../target/release/bundle/msi/Firezone_1.1.5_x64_en-US.msi - name: Rename artifacts and compute SHA256 shell: bash run: ${{ matrix.rename-script }} @@ -99,6 +99,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} REPOSITORY: ${{ github.repository }} # mark:next-gui-version - TAG_NAME: gui-client-1.1.4 + TAG_NAME: gui-client-1.1.5 shell: bash run: ${{ matrix.upload-script }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8adade4c6..ae8ecbcec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,10 +49,10 @@ jobs: - release_name: gateway-1.1.3 config_name: release-drafter-gateway.yml # mark:next-headless-version - - release_name: headless-client-1.1.3 + - release_name: headless-client-1.1.4 config_name: release-drafter-headless-client.yml # mark:next-gui-version - - release_name: gui-client-1.1.4 + - release_name: gui-client-1.1.5 config_name: release-drafter-gui-client.yml steps: - uses: release-drafter/release-drafter@v6 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2aad0ce41..543bbd47e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,7 +44,7 @@ jobs: elif [[ "${{ github.event.release.name }}" =~ headless* ]]; then ARTIFACT=client # mark:next-headless-version - VERSION="1.1.3" + VERSION="1.1.4" else echo "Release doesn't require publishing Docker images" exit 0 diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 209da1e80..7477ea312 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -1884,7 +1884,7 @@ dependencies = [ [[package]] name = "firezone-gui-client" -version = "1.1.4" +version = "1.1.5" dependencies = [ "anyhow", "arboard", @@ -1938,7 +1938,7 @@ dependencies = [ [[package]] name = "firezone-headless-client" -version = "1.1.3" +version = "1.1.4" dependencies = [ "anyhow", "atomicwrites", diff --git a/rust/gui-client/src-tauri/Cargo.toml b/rust/gui-client/src-tauri/Cargo.toml index 357089f47..710c410fa 100644 --- a/rust/gui-client/src-tauri/Cargo.toml +++ b/rust/gui-client/src-tauri/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "firezone-gui-client" # mark:next-gui-version -version = "1.1.4" +version = "1.1.5" description = "Firezone" edition = "2021" default-run = "firezone-gui-client" diff --git a/rust/headless-client/Cargo.toml b/rust/headless-client/Cargo.toml index a3dc43c26..1f8c50636 100644 --- a/rust/headless-client/Cargo.toml +++ b/rust/headless-client/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "firezone-headless-client" # mark:next-headless-version -version = "1.1.3" +version = "1.1.4" edition = "2021" authors = ["Firezone, Inc."] diff --git a/scripts/Makefile b/scripts/Makefile index 17c7790e3..475e53382 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -16,15 +16,15 @@ current-apple-version = 1.1.2 current-android-version = 1.1.2 current-gateway-version = 1.1.2 -current-gui-version = 1.1.3 -current-headless-version = 1.1.2 +current-gui-version = 1.1.4 +current-headless-version = 1.1.3 # Tracks the next version to release for each platform next-apple-version = 1.1.3 next-android-version = 1.1.3 next-gateway-version = 1.1.3 -next-gui-version = 1.1.4 -next-headless-version = 1.1.3 +next-gui-version = 1.1.5 +next-headless-version = 1.1.4 # macOS uses a slightly different sed syntax ifeq ($(shell uname),Darwin) diff --git a/website/redirects.js b/website/redirects.js index fd83c35ac..cb13ff0aa 100644 --- a/website/redirects.js +++ b/website/redirects.js @@ -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.1.3/firezone-client-gui-windows_1.1.3_x86_64.msi", + "https://www.github.com/firezone/firezone/releases/download/gui-client-1.1.4/firezone-client-gui-windows_1.1.4_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.1.3/firezone-client-gui-linux_1.1.3_x86_64.deb", + "https://www.github.com/firezone/firezone/releases/download/gui-client-1.1.4/firezone-client-gui-linux_1.1.4_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.1.3/firezone-client-gui-linux_1.1.3_aarch64.deb", + "https://www.github.com/firezone/firezone/releases/download/gui-client-1.1.4/firezone-client-gui-linux_1.1.4_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.1.2/firezone-client-headless-linux_1.1.2_x86_64", + "https://www.github.com/firezone/firezone/releases/download/headless-client-1.1.3/firezone-client-headless-linux_1.1.3_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.1.2/firezone-client-headless-linux_1.1.2_aarch64", + "https://www.github.com/firezone/firezone/releases/download/headless-client-1.1.3/firezone-client-headless-linux_1.1.3_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.1.2/firezone-client-headless-linux_1.1.2_armv7", + "https://www.github.com/firezone/firezone/releases/download/headless-client-1.1.3/firezone-client-headless-linux_1.1.3_armv7", permanent: false, }, /* diff --git a/website/src/components/Changelog/GUI.tsx b/website/src/components/Changelog/GUI.tsx index 572bf3dfd..abcae46c8 100644 --- a/website/src/components/Changelog/GUI.tsx +++ b/website/src/components/Changelog/GUI.tsx @@ -1,3 +1,4 @@ +import Link from "next/link"; import Entry from "./Entry"; import Entries from "./Entries"; @@ -10,6 +11,24 @@ export default function GUI({ title }: { title: string }) { return ( + +
    +
  • + Fixes an{" "} + + issue + {" "} + Fixes an issue where a stale DNS cache could prevent traffic from + routing to DNS Resources if they were updated while the Client was + signed in. + where a stale DNS cache could prevent traffic from routing to DNS + Resources if they were updated while the Client was signed in. +
  • +
+
  • diff --git a/website/src/components/Changelog/Headless.tsx b/website/src/components/Changelog/Headless.tsx index 00e4ee3d0..6ff95ec64 100644 --- a/website/src/components/Changelog/Headless.tsx +++ b/website/src/components/Changelog/Headless.tsx @@ -1,3 +1,4 @@ +import Link from "next/link"; import Entry from "./Entry"; import Entries from "./Entries"; @@ -7,6 +8,21 @@ export default function Headless() { return ( + +
      +
    • + Fixes an{" "} + + issue + {" "} + where a stale DNS cache could prevent traffic from routing to DNS + Resources if they were updated while the Client was signed in. +
    • +
    +