Skip to content

Commit

Permalink
Release 2.3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
yuezk committed Jan 21, 2025
1 parent b990537 commit 26d5d5b
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 18 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
needs:
- setup-matrix
- tarball
steps:
- uses: pnpm/action-setup@v2
with:
Expand All @@ -80,26 +80,31 @@ jobs:
- name: Prepare workspace
run: rm -rf source-offline && mkdir source-offline

- name: Checkout GlobalProtect-openconnect
uses: actions/checkout@v3
- name: Download tarball
uses: actions/download-artifact@v3
with:
token: ${{ secrets.GH_PAT }}
repository: yuezk/GlobalProtect-openconnect
ref: ${{ github.ref }}
path: source-offline/gp
name: artifact-source
path: source-offline

- name: Create offline tarball
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
# 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
uses: actions/upload-artifact@v3
with:
path: source-offline/gp/.build/tarball/*.tar.gz
path: source-offline/*.offline.tar.gz
name: artifact-source-offline
if-no-files-found: error

Expand Down
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ members = [

[workspace.package]
rust-version = "1.71.1"
version = "2.3.10"
version = "2.3.11"
authors = ["Kevin Yue <[email protected]>"]
homepage = "https://github.com/yuezk/GlobalProtect-openconnect"
edition = "2021"
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 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

- Disconnect the VPN when sleep (fix [#166](https://github.com/yuezk/GlobalProtect-openconnect/issues/166), [#267](https://github.com/yuezk/GlobalProtect-openconnect/issues/267))
Expand Down

0 comments on commit 26d5d5b

Please sign in to comment.