mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
Update dependencies and improve crypto handling
- Updated macOS-specific dependencies in `Cargo.toml` to their latest versions for better compatibility and performance. - Refactored nonce handling in `crypto.rs` to improve clarity and correctness in the decryption process. - Modified `gh-release.sh` to streamline asset uploads for snapshot releases and ensure stability for tagged releases by limiting uploaded components.
This commit is contained in:
15 files changed
+2724
-2552
No files matched your search
@@ -27,9 +27,9 @@ release_snapshot() {
|
||||
| xargs -I {} gh -R "$REPO" release delete-asset "$TAG" {} --yes
|
||||
|
||||
echo "Uploading new assets..."
|
||||
# Upload all artifacts for snapshot release because we don't need to guarantee stability.
|
||||
gh -R "$REPO" release upload "$TAG" \
|
||||
"$PROJECT_DIR"/.build/artifacts/artifact-source*/* \
|
||||
"$PROJECT_DIR"/.build/artifacts/artifact-gpgui-*/*
|
||||
"$PROJECT_DIR"/.build/artifacts/artifact-*/*
|
||||
}
|
||||
|
||||
release_tag() {
|
||||
@@ -37,6 +37,9 @@ release_tag() {
|
||||
gh -R "$REPO" release delete $TAG --yes --cleanup-tag || true
|
||||
|
||||
echo "Creating release..."
|
||||
# Only upload the source tarball and GUI components for tagged release.
|
||||
# Other components will be built in `release.yml` from the standalone
|
||||
# source tarball and uploaded. This is to ensure the source tarball is stable.
|
||||
gh -R "$REPO" release create $TAG \
|
||||
--title "$TAG" \
|
||||
--notes "$RELEASE_NOTES" \
|
||||
|
||||
Reference in new issue
Block a user