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:
Kevin Yue committed 2025-10-15 22:49:54 +08:00
1 parent f1a8a3c19a
commit e3c3b6e89e
15 files changed
+2724 -2552

No files matched your search

+5 -2
View File
@@ -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" \