Release 2.3.11

This commit is contained in:
Kevin Yue 2025-01-21 21:17:30 +08:00
parent b99053718a
commit 26d5d5bcf0
No known key found for this signature in database
GPG Key ID: 4D3A6EE977B15AC4
4 changed files with 27 additions and 18 deletions

View File

@ -71,7 +71,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/') }} if: ${{ startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: needs:
- setup-matrix - tarball
steps: steps:
- uses: pnpm/action-setup@v2 - uses: pnpm/action-setup@v2
with: with:
@ -80,26 +80,31 @@ jobs:
- name: Prepare workspace - name: Prepare workspace
run: rm -rf source-offline && mkdir source-offline run: rm -rf source-offline && mkdir source-offline
- name: Checkout GlobalProtect-openconnect - name: Download tarball
uses: actions/checkout@v3 uses: actions/download-artifact@v3
with: with:
token: ${{ secrets.GH_PAT }} name: artifact-source
repository: yuezk/GlobalProtect-openconnect path: source-offline
ref: ${{ github.ref }}
path: source-offline/gp
- name: Create offline tarball - name: Create offline tarball
run: | run: |
cd source-offline/gp cd source-offline
offline_tarball=$(basename *.tar.gz .tar.gz).offline.tar.gz
# Extract the tarball
tar -xzf *.tar.gz
cd */
make tarball OFFLINE=1 make tarball OFFLINE=1
# Rename the tarball to .offline.tar.gz # Rename the tarball to .offline.tar.gz
mv .build/tarball/*.tar.gz .build/tarball/$(basename .build/tarball/*.tar.gz .tar.gz).offline.tar.gz mv -v .build/tarball/*.tar.gz ../$offline_tarball
- name: Upload offline tarball - name: Upload offline tarball
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
path: source-offline/gp/.build/tarball/*.tar.gz path: source-offline/*.offline.tar.gz
name: artifact-source-offline name: artifact-source-offline
if-no-files-found: error if-no-files-found: error

14
Cargo.lock generated
View File

@ -581,7 +581,7 @@ dependencies = [
[[package]] [[package]]
name = "common" name = "common"
version = "2.3.10" version = "2.3.11"
dependencies = [ dependencies = [
"is_executable", "is_executable",
] ]
@ -1480,7 +1480,7 @@ dependencies = [
[[package]] [[package]]
name = "gpapi" name = "gpapi"
version = "2.3.10" version = "2.3.11"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64 0.22.1", "base64 0.22.1",
@ -1517,7 +1517,7 @@ dependencies = [
[[package]] [[package]]
name = "gpauth" name = "gpauth"
version = "2.3.10" version = "2.3.11"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -1538,7 +1538,7 @@ dependencies = [
[[package]] [[package]]
name = "gpclient" name = "gpclient"
version = "2.3.10" version = "2.3.11"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -1560,7 +1560,7 @@ dependencies = [
[[package]] [[package]]
name = "gpgui-helper" name = "gpgui-helper"
version = "2.3.10" version = "2.3.11"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -1578,7 +1578,7 @@ dependencies = [
[[package]] [[package]]
name = "gpservice" name = "gpservice"
version = "2.3.10" version = "2.3.11"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"axum", "axum",
@ -2747,7 +2747,7 @@ dependencies = [
[[package]] [[package]]
name = "openconnect" name = "openconnect"
version = "2.3.10" version = "2.3.11"
dependencies = [ dependencies = [
"cc", "cc",
"common", "common",

View File

@ -11,7 +11,7 @@ members = [
[workspace.package] [workspace.package]
rust-version = "1.71.1" rust-version = "1.71.1"
version = "2.3.10" version = "2.3.11"
authors = ["Kevin Yue <k3vinyue@gmail.com>"] authors = ["Kevin Yue <k3vinyue@gmail.com>"]
homepage = "https://github.com/yuezk/GlobalProtect-openconnect" homepage = "https://github.com/yuezk/GlobalProtect-openconnect"
edition = "2021" edition = "2021"

View File

@ -1,5 +1,9 @@
# Changelog # Changelog
## 2.3.11 - 2024-01-21
- Update minimal Rust version to 1.71.1, so that the PPA can be built on Ubuntu 18.04.
## 2.3.10 - 2024-01-20 ## 2.3.10 - 2024-01-20
- Disconnect the VPN when sleep (fix [#166](https://github.com/yuezk/GlobalProtect-openconnect/issues/166), [#267](https://github.com/yuezk/GlobalProtect-openconnect/issues/267)) - Disconnect the VPN when sleep (fix [#166](https://github.com/yuezk/GlobalProtect-openconnect/issues/166), [#267](https://github.com/yuezk/GlobalProtect-openconnect/issues/267))