Skip to content

v3.1.0-rc.2 发布 - #162

Merged
IvanHanloth merged 12 commits into
mainfrom
dev
Jul 29, 2026
Merged

v3.1.0-rc.2 发布#162
IvanHanloth merged 12 commits into
mainfrom
dev

Conversation

@IvanHanloth

Copy link
Copy Markdown
Owner

This pull request introduces significant improvements to the release workflow and Windows installer for Boss Key, focusing on secure release automation, better privilege handling, and enhanced user data management during uninstallation. The most important changes are summarized below.


Release workflow modernization and security:

  • The release workflow (.github/workflows/release.yml) is refactored to use a single job, supporting both new releases and rebuilds, with the version/tag provided as input. It now leverages octo-sts for short-lived, least-privilege tokens via OIDC, and creates verified commits/tags through the GitHub API, improving security and traceability. [1] [2]
  • The workflow now ensures the version number is written to files before building, checks if the tag exists to determine release mode, and always builds from the tagged commit.
  • Release artifacts and release notes now consistently use the resolved tag, simplifying artifact naming and release creation. [1] [2] [3] [4]

Installer and uninstallation enhancements:

  • The Inno Setup script (.github/inno-script/Boss-Key.iss) now requires version numbers to be passed in, preventing accidental mismatches, and introduces an installed marker file to distinguish installed versions from portable ones. [1] [2] [3]
  • The default installation mode now uses the lowest privilege necessary, reducing unnecessary UAC prompts, while still allowing per-machine installs if selected.
  • Uninstallation is improved: runtime files, logs, caches, and WebView2 user data are now thoroughly cleaned from both the install and user data directories, and prompts to keep or remove settings are clarified to include all data, not just the config file. [1] [2] [3]

Localization and messaging:

  • Uninstall prompts in all supported languages have been updated to clearly state that choosing "No" will delete all user data, not just the settings file.

These changes make the release process more secure and robust, ensure correct versioning, improve user experience during installation/uninstallation, and clarify data handling for users.

Copilot AI review requested due to automatic review settings July 29, 2026 19:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Restrict deployment workflow to only the 'main' branch.
@IvanHanloth
IvanHanloth merged commit cfee1a1 into main Jul 29, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants