38 Commits

Author SHA1 Message Date
煎饼果子卷鲨鱼辣椒
397e9d950e chore: update .gitignore and enhance auto-tag workflow with cleanup steps
- Added Go workspace and cache directories to .gitignore to prevent unnecessary files from being tracked.
- Introduced a cleanup step in the auto-tag workflow to remove temporary Go directories and cached files, improving workspace management.
- Updated GOPATH, GOCACHE, and GOMODCACHE paths in the workflow to use temporary directories for better isolation during builds.
2024-12-30 19:35:18 +08:00
煎饼果子卷鲨鱼辣椒
8f40c70504 chore: update GoReleaser configuration and enhance auto-tag workflow
- Upgraded GoReleaser configuration to version 2, adding build verification and improved release settings.
- Replaced 'go mod download' with 'go mod vendor' and 'go mod verify' for better dependency management.
- Introduced additional build information such as version, commit, and date in the build flags.
- Enhanced the auto-tag workflow by adding a step to prepare the build environment and sync the vendor directory.
- Improved release notes formatting with a header and footer for better clarity in changelogs.
2024-12-30 19:25:59 +08:00
煎饼果子卷鲨鱼辣椒
3050a6c0ad chore: update auto-tag workflow to use snapshot mode and enhance debugging
- Changed GoReleaser execution argument from '--debug' to '--snapshot' for improved release management.
- Added GORELEASER_DEBUG environment variable to enable detailed logging during the release process.
- Introduced GORELEASER_CURRENT_TAG environment variable to capture the current version tag, enhancing visibility in the workflow.
2024-12-30 19:23:34 +08:00
煎饼果子卷鲨鱼辣椒
c41ade9b88 chore: update auto-tag workflow and GitHub Actions versions
- Simplified the workflow_call input in auto-tag-release.yml by removing unnecessary inputs.
- Updated actions/checkout and actions/setup-go to version 3 for improved performance and compatibility.
- Refined conditional checks for version tagging to use the new syntax for better clarity.
- Adjusted GoReleaser action to version 3, ensuring alignment with the latest features and fixes.
2024-12-30 19:21:30 +08:00
煎饼果子卷鲨鱼辣椒
2d008db25e chore: simplify auto-tag workflow by removing GPG signing input
- Removed the 'skip_signing' input from the auto-tag-release.yml workflow to streamline the release process.
- Updated GoReleaser execution arguments to eliminate the '--skip-sign' option, enhancing clarity and focus on the release process.
2024-12-30 19:19:51 +08:00
煎饼果子卷鲨鱼辣椒
bf6adcbac2 chore: update GoReleaser configuration and enhance auto-tag workflow
- Added 'go mod download' step to ensure dependencies are available before builds.
- Introduced debug flag in GoReleaser execution for improved troubleshooting.
- Added error checking step to capture GoReleaser output and configuration details on failure.
- Modified build summary step to reflect GPG signing status as disabled, streamlining the release process.
2024-12-30 19:17:46 +08:00
煎饼果子卷鲨鱼辣椒
f0f77352ae chore: simplify auto-tag workflow by removing GPG signing steps
- Removed GPG key import and signing conditions from the auto-tag-release.yml workflow to streamline the release process.
- Updated GoReleaser execution conditions to focus solely on version tagging, enhancing clarity and reducing complexity.
2024-12-30 19:15:49 +08:00
煎饼果子卷鲨鱼辣椒
c1d5ba84b3 chore: update GoReleaser configuration and auto-tag workflow
- Commented out GPG signing configuration in .goreleaser.yml for clarity.
- Modified the default value for the skip_signing input in auto-tag-release.yml to true, allowing for easier skipping of GPG signing during releases.
2024-12-30 19:12:50 +08:00
煎饼果子卷鲨鱼辣椒
97e6e5165e chore: enhance auto-tag workflow with GPG signing options and build summary
- Added inputs for optional GPG private key and skip signing functionality to the workflow.
- Updated conditions for GPG signing to allow skipping based on input parameters.
- Introduced a new step to generate a build summary, detailing Go version, release version, GPG signing status, and build status, improving visibility into the release process.
2024-12-30 19:06:48 +08:00
煎饼果子卷鲨鱼辣椒
b9bd994803 chore: enhance auto-tag workflow with additional checks and Go environment setup
- Added a configuration check step for GoReleaser to ensure the presence of the configuration file before execution.
- Introduced a step to set up the Go workspace environment, improving the build process.
- Implemented dependency checks to verify and download Go modules, enhancing reliability.
- Modified the GoReleaser steps to handle cases with and without GPG signing, improving flexibility in the release process.
- Enhanced the verification step to include checks for the executability of generated binaries, ensuring successful builds.
2024-12-30 19:03:03 +08:00
煎饼果子卷鲨鱼辣椒
f192037eb5 chore: update auto-tag workflow to require Ubuntu 22.04
- Modified the workflow to specify Ubuntu 22.04 as the runner environment, ensuring compatibility with the latest features.
- Added a note indicating the requirement for Ubuntu 22.04 or 24.04, enhancing clarity for future contributors.
2024-12-30 18:59:48 +08:00
煎饼果子卷鲨鱼辣椒
ff67a07ca7 chore: remove deprecated GitHub Actions workflows for auto-tagging and release
- Deleted the auto-tag.yml and release.yml workflows as they are no longer needed.
- This cleanup helps streamline the repository by removing unused configurations and reducing maintenance overhead.
2024-12-30 18:54:42 +08:00
煎饼果子卷鲨鱼辣椒
f90d6d7e5f chore: enhance GitHub Actions workflows with improved job structure and error handling
- Introduced a pre-job in auto-tag.yml to skip duplicate actions based on content, optimizing workflow execution.
- Updated the auto-tag job to run on ubuntu-latest and added concurrency controls for better resource management.
- Enhanced error handling in both workflows by adding checks for workflow status and notifying on failures.
- Upgraded actions to their latest versions for improved performance and reliability.
- Added caching steps in both workflows to speed up builds and reduce redundant operations.
2024-12-30 18:52:02 +08:00
煎饼果子卷鲨鱼辣椒
84cd8c15c7 chore: update GitHub Actions workflows for improved tagging and release process
- Changed GITHUB_TOKEN reference in auto-tag.yml to use the standard token for better security.
- Added debug steps in both workflows to enhance visibility into the release process and check permissions.
- Updated permissions in release.yml to explicitly define required access levels for contents, packages, and actions.
- Refined the conditional execution for the release job to ensure it only runs when a valid version is generated.
2024-12-30 18:48:49 +08:00
煎饼果子卷鲨鱼辣椒
1e4f2457c2 chore: update GitHub Actions workflows for improved error handling and version validation
- Downgraded actions in both auto-tag.yml and release.yml to v3 and v4 respectively for compatibility.
- Enhanced error handling in the auto-tag workflow by adding checks for git fetch failures and validating version format.
- Introduced additional validation for version numbers to ensure they remain within acceptable ranges.
- Added a verification step in the release workflow to confirm Go installation, improving reliability.
2024-12-30 18:47:06 +08:00
煎饼果子卷鲨鱼辣椒
deb1aafcb5 chore: improve auto-tag workflow with enhanced output verification and debugging
- Updated the output redirection for the generated version to use quotes for better compatibility.
- Enhanced debug output to provide clearer visibility into step and job outputs, aiding in troubleshooting.
- Added a verification step to display the contents of GITHUB_OUTPUT, ensuring the version value is correctly set before proceeding to the release job.
- Refined the conditional execution for the release job to ensure it runs only when the auto-tag job succeeds and a version is generated.
2024-12-30 18:44:19 +08:00
煎饼果子卷鲨鱼辣椒
c4ecb7cede chore: refine auto-tag workflow with version output and enhanced debugging
- Changed output variable from 'new_tag' to 'version' for clarity in the auto-tag job.
- Introduced a new version variable to store the generated version, improving readability.
- Added debug steps to output version information and job outputs, aiding in troubleshooting.
- Updated validation step to provide clearer error messages and confirmation of version validation success.
2024-12-30 18:42:18 +08:00
煎饼果子卷鲨鱼辣椒
6fb415bfcb chore: enhance auto-tag workflow with version validation and error handling
- Added error handling for git fetch command to ensure workflow fails on tag fetch issues.
- Introduced a validation step to check the format of the new version tag, ensuring it adheres to semantic versioning.
- Updated the conditional execution for the release job to prevent running if no new tag is generated, improving workflow reliability.
2024-12-30 18:39:38 +08:00
煎饼果子卷鲨鱼辣椒
f440f47e57 chore: update GitHub Actions workflows to use latest action versions and streamline release process
- Upgraded checkout action from v3 to v4 in both auto-tag.yml and release.yml for improved performance.
- Updated setup-go action from v4 to v5 and goreleaser action from v4 to v5 to leverage the latest features.
- Changed the release job to inherit secrets instead of explicitly defining them, enhancing security.
- Added environment specification for the goreleaser job and refined the conditional execution for the release process.
2024-12-30 18:38:14 +08:00
煎饼果子卷鲨鱼辣椒
32a30afaeb chore: enhance GoReleaser and GitHub Actions workflows for GPG signing
- Added GPG signing configuration in .goreleaser.yml to support artifact signing for all artifacts.
- Updated release.yml to enforce GPG signing by setting global Git configuration options for signing commits and tags.
- Improved the signing process by utilizing the GPG fingerprint from environment variables, enhancing security and flexibility.
2024-12-30 18:35:17 +08:00
煎饼果子卷鲨鱼辣椒
d7fa7a1442 chore: update GitHub Actions workflows to use Ubuntu 22.04 and rename tag input
- Changed the runner environment from 'ubuntu-latest' to 'ubuntu-22.04' in both auto-tag.yml and release.yml for consistency and to ensure compatibility with the latest features.
- Renamed the input parameter from 'tag' to 'version' in release.yml to improve clarity regarding its purpose in the release process.
2024-12-30 18:33:33 +08:00
煎饼果子卷鲨鱼辣椒
622f681377 chore: update GitHub Actions workflows to enforce required secrets for release process
- Explicitly defined RELEASE_TOKEN, GPG_PRIVATE_KEY, and PASSPHRASE as required secrets in both auto-tag.yml and release.yml to enhance security.
- Updated the release.yml to require a tag input for the release process, ensuring clarity in workflow execution.
- Adjusted the GPG key import step to utilize the defined secrets, improving the reliability of the signing process.
2024-12-30 18:31:37 +08:00
煎饼果子卷鲨鱼辣椒
9690adf5a4 chore: downgrade action versions in GitHub workflows for compatibility
- Changed checkout action from v4 to v3 in both auto-tag.yml and release.yml for consistency.
- Downgraded setup-go action from v5 to v4 and goreleaser action from v5 to v4 to ensure compatibility with existing configurations.
- Removed explicit secrets definitions in auto-tag.yml, allowing the workflow to inherit secrets for improved security.
2024-12-30 18:29:50 +08:00
煎饼果子卷鲨鱼辣椒
5ab9a96c32 chore: update auto-tag workflow to explicitly define secrets for enhanced security
- Added explicit definitions for RELEASE_TOKEN, GPG_PRIVATE_KEY, and PASSPHRASE in the auto-tag.yml workflow.
- This change improves security by ensuring that necessary secrets are clearly specified for the release process.
2024-12-30 18:28:46 +08:00
煎饼果子卷鲨鱼辣椒
01a932f3e5 chore: enhance GitHub Actions workflows with GPG key input for signing releases
- Added an optional input for GPG private key in release.yml to support signing releases.
- Updated the conditional check for GPG key import to utilize the new input, improving flexibility and maintainability.
- Ensured that the auto-tag workflow inherits secrets for better security practices.
2024-12-30 18:18:04 +08:00
煎饼果子卷鲨鱼辣椒
a8765f85a7 chore: update GitHub Actions workflows to latest action versions and enhance release configuration
- Upgraded checkout action from v3 to v4 in both auto-tag.yml and release.yml for improved performance.
- Added optional input for GPG private key in release.yml to support signing releases.
- Updated setup-go action from v4 to v5 and goreleaser action from v4 to v5, ensuring compatibility with the latest features.
- Changed GoReleaser version specification to 'latest' for automatic updates.
2024-12-30 18:16:05 +08:00
煎饼果子卷鲨鱼辣椒
e65c5f5fa8 chore: update GitHub Actions workflow to streamline release process
- Removed explicit permissions and secrets from auto-tag.yml, inheriting them instead for improved security and simplicity.
- Added a conditional check for the release job to only run on successful completion of the auto-tag job, enhancing workflow reliability.
2024-12-30 18:14:28 +08:00
煎饼果子卷鲨鱼辣椒
c681b2473c chore: clean up GitHub Actions workflow by removing debug steps and standardizing GPG key import condition
- Removed the debug files step from release.yml to streamline the workflow.
- Standardized the conditional check for GPG key import to improve clarity and maintainability.
2024-12-30 18:13:28 +08:00
煎饼果子卷鲨鱼辣椒
e0db041e93 chore: enhance GoReleaser configuration and GitHub Actions workflows for GPG signing
- Added GPG signing configuration to .goreleaser.yml to support artifact signing.
- Updated auto-tag.yml and release.yml to include necessary secrets for GPG signing, enhancing security and functionality.
- Ensured that GPG keys and passphrase are conditionally utilized in the release process.
2024-12-30 18:10:00 +08:00
煎饼果子卷鲨鱼辣椒
dff58fb4fb chore: update GitHub Actions workflows for permissions and token usage
- Changed permissions in auto-tag.yml and release.yml to 'write-all' for broader access.
- Updated GITHUB_TOKEN to use RELEASE_TOKEN in both workflows for enhanced security.
- Streamlined the workflows by removing redundant permission specifications.
2024-12-30 18:07:39 +08:00
煎饼果子卷鲨鱼辣椒
fa53723283 chore: update GitHub Actions workflows for auto-tagging and release processes
- Updated permissions in both auto-tag.yml and release.yml to include write access for issues and pull requests.
- Changed the checkout action version from v4 to v3 in both workflows for consistency.
- Updated Go setup action version from v5 to v4 and specified the Go version as "1.21".
- Adjusted GPG import action version from v6 to v5.
- Updated GoReleaser action version from v5 to v4 and specified the release version as v1.21.2.
- Standardized string quotes in YAML files for consistency.
2024-12-30 18:03:05 +08:00
dacrab
fa364cb3ce ci: improve file handling in release workflow 2024-12-27 13:27:57 +02:00
dacrab
e54f1236ec ci: make release workflow reusable and call it from auto-tag 2024-12-27 13:07:03 +02:00
dacrab
98537b94f9 ci: improve workflow reliability and error handling 2024-12-27 13:05:04 +02:00
dacrab
17c2cb9c2a ci: simplify and fix workflows 2024-12-27 13:02:56 +02:00
dacrab
23295a049d ci: add automatic version tagging workflow 2024-12-27 12:51:16 +02:00
dacrab
99e31a7bba chore: Refactor build and installation scripts; update configuration and release process
- Enhanced build scripts for improved parallel execution and optimization flags.
- Updated installation scripts for better user experience and error handling.
- Modified .gitignore to include new build artifacts and IDE configurations.
- Updated .goreleaser.yml for better release management and platform support.
- Removed deprecated main.go file and adjusted README for clarity on installation and usage.
- Added support for multiple architectures in build process, including 32-bit and 64-bit for Windows, macOS, and Linux.

These changes streamline the development workflow and enhance the overall usability of the Cursor ID Modifier tool.
2024-12-27 02:05:35 +02:00
realies
f89aa17acf feat: lean automated releases 2024-12-14 05:00:33 +00:00