125 Commits

Author SHA1 Message Date
煎饼果子卷鲨鱼辣椒
15d8210bd4 feat: enhance GenerateMachineID to include auth0|user_ prefix
- Updated the GenerateMachineID function to generate a machine ID with the prefix "auth0|user_".
- The random part of the ID is now 25 bytes, producing a 50-character hexadecimal string.
- This change improves the uniqueness and format of generated machine IDs, aligning with authentication standards.
2025-01-01 18:07:40 +08:00
煎饼果子卷鲨鱼辣椒
12468bc363 fix: comment out version assignment in config preparation
- Commented out the version assignment in the prepareUpdatedConfig function within the config.go file to prevent hardcoding of the version number.
- This change allows for more dynamic version handling in the configuration process, aligning with recent updates in the installation scripts that utilize the latest release tag for versioning.
v0.0.35
2024-12-30 20:06:03 +08:00
煎饼果子卷鲨鱼辣椒
8f52929e59 fix: update binary naming in installation scripts to remove 'v' prefix
- Modified the installation scripts for both PowerShell and shell to remove the 'v' prefix from the latest release tag when constructing binary names.
- This change ensures consistency in binary naming and improves compatibility with the expected format for asset retrieval.
v0.0.34
2024-12-30 19:57:00 +08:00
煎饼果子卷鲨鱼辣椒
d32476d827 feat: add architecture-specific binary naming in installation script
- Introduced a new binary naming format for the cursor-id-modifier to include the latest release tag and support the x86_64 architecture.
- This change enhances version tracking and aligns with standard naming conventions for better clarity in the installation process.
v0.0.33
2024-12-30 19:54:23 +08:00
煎饼果子卷鲨鱼辣椒
a0d84c8290 fix: update architecture naming in installation scripts
- Changed architecture identifiers from 'x64' to 'x86_64' and 'x86' to 'i386' in both PowerShell and shell scripts for consistency with standard naming conventions.
- Updated binary naming in the installation scripts to include the latest release tag for better version tracking.
- Enhanced error handling in the shell script to display available assets when a binary is not found.
v0.0.32
2024-12-30 19:52:39 +08:00
煎饼果子卷鲨鱼辣椒
df71df76e2 refactor: update project references from 'dacrab' to 'yuaotian'
- Changed module path in go.mod and updated all relevant URLs in README, CHANGELOG, and installation scripts to reflect the new GitHub repository.
- Updated import paths in the main.go file to align with the new module name.
- Adjusted API calls in installation scripts to fetch the latest release from the new repository location.
v0.0.31
2024-12-30 19:43:59 +08:00
煎饼果子卷鲨鱼辣椒
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.
v0.0.30
2024-12-30 19:35:18 +08:00
煎饼果子卷鲨鱼辣椒
dc7761593d chore: update GoReleaser configuration for improved binary naming and build settings
- Modified binary naming template to include project name and version for better identification.
- Enhanced architecture handling in the naming template to support additional architectures.
- Added 'cursor-id-modifier' to the build settings for more specific build targeting.
- Allowed different binary counts in the release process, improving flexibility in output.
v0.0.29
2024-12-30 19:32:49 +08:00
煎饼果子卷鲨鱼辣椒
d36f868f4e chore: update GoReleaser configuration for improved build and release process
- Added GO111MODULE environment variable to ensure module support during builds.
- Updated build flags to include short commit and commit date for better traceability.
- Enhanced release configuration with additional files and improved changelog filtering.
- Reorganized project settings and removed obsolete build verification steps for clarity.
v0.0.28
2024-12-30 19:29:04 +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.
v0.0.27
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.
v0.0.26
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.
v0.0.25
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.
v0.0.24
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.
v0.0.23
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.
v0.0.22
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.
v0.0.21
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.
v0.0.20
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.
v0.0.19
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.
v0.0.18
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.
v0.0.17
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.
v0.0.16
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.
v0.0.15
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.
v0.0.14
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.
v0.0.13
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.
v0.0.12
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.
v0.0.11
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.
v0.0.10
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.
v0.0.9
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.
v0.0.8
2024-12-30 18:03:05 +08:00
煎饼果子卷鲨鱼辣椒
778f48e57a
Merge pull request #85 from dacrab/master
commit request
v0.0.7
2024-12-30 17:27:59 +08:00
煎饼果子卷鲨鱼辣椒
835bcfc60c
Merge branch 'master' into master 2024-12-30 17:27:46 +08:00
煎饼果子卷鲨鱼辣椒
1b8aeb4b81 docs: Enhance README.md with new section for public WeChat account and additional resources
- Added a new section to promote the WeChat public account for updates and programming tips.
- Included a QR code image for easy access to the WeChat account.
- This update aims to improve user engagement and provide more resources for developers.
2024-12-30 01:01:50 +08:00
dacrab
ad7ae6fa58 feat: enhance installation script with requirement checks and streamlined download process
- Added a function to check for required commands (curl).
- Simplified the download function to exclusively use curl for downloading assets.
- Improved error handling and user feedback when fetching the latest release information.
- Updated the main installation function to construct the binary name directly and provide clearer output during the installation process.
2024-12-29 16:51:01 +02:00
Vaggelis kavouras
a9094d34dd docs: enhance Windows installation instructions and features in README.md; improve PowerShell script for admin rights detection and user feedback
- Updated README.md to include new Windows installation features and manual installation instructions.
- Enhanced PowerShell installation script (install.ps1) to detect PowerShell version, handle elevation more effectively, and provide clearer user prompts for admin rights.
2024-12-29 00:39:01 +02:00
Vaggelis kavouras
ee2532175a fix: streamline Windows binary extension handling in configuration
- Removed the redundant assignment of the ".exe" extension in .goreleaser.yml.
- Added conditional assignment of the ".exe" extension in build_all.bat to ensure clarity and consistency in binary naming for Windows builds.
2024-12-29 00:14:35 +02:00
Vaggelis kavouras
0f0d1c7d6f fix: remove redundant extension assignment in build script
- Eliminated the unnecessary assignment of the ".exe" extension for Windows in build_all.bat to streamline the script and avoid confusion regarding binary naming conventions.
2024-12-29 00:11:40 +02:00
Vaggelis kavouras
fc9ebdec98 fix: correct binary name duplication in PowerShell installation script
- Removed redundant ".exe" suffix from binary names in install.ps1 to ensure unique and accurate naming for Windows binaries based on architecture.
2024-12-29 00:08:04 +02:00
Vaggelis kavouras
96af6471e4 fix: improve user feedback and error handling in installation scripts and language support
- Removed unnecessary print statement in main.go to streamline output.
- Updated language strings in lang.go to include newline characters for better formatting.
- Enhanced PowerShell installation script (install.ps1) with improved error handling and user prompts for admin rights.
- Modified shell installation script (install.sh) to provide clearer error messages and find matching assets for different architectures.
2024-12-29 00:04:28 +02:00
Vaggelis kavouras
947d11fbc6 refactor: streamline configuration management and enhance UI interactions
- Updated go.mod and go.sum to include necessary dependencies.
- Refactored README.md for clearer installation instructions and improved formatting.
- Enhanced main.go with better error handling and user feedback during execution.
- Improved configuration management in config.go, ensuring atomic writes and better error handling.
- Updated language support in lang.go for clearer user messages.
- Enhanced process management in manager.go to ensure more reliable process termination.
- Improved UI display methods for better user experience.
- Removed outdated test file generator_test.go to clean up the codebase.
- Updated install.ps1 script for better output formatting and error handling.
2024-12-28 23:52:24 +02:00
dacrab
56f09677ca feat: improve process management for auto-closing Cursor instances 2024-12-27 13:53:36 +02:00