1
0
Fork 0
Commit Graph

8 Commits

Author SHA1 Message Date
pooneyy 841103f3c2
🔧 chore(renovate): update version extraction regex pattern
- modify regex pattern in `renovate-app-version.py` to better handle version strings with zero or more separators
- change pattern from `r'(\d+(?:[\.\-]\d+)+)'` to `r'(\d+(?:[\.\-]*\d+)+)'` to allow zero or more separators between digits
2025-12-06 01:38:13 +08:00
pooneyy df07e93478
🐛 fix(renovate): correct version file parameter
- use new_ver_dir instead of new_version for version file content
2025-10-16 03:33:07 +08:00
pooneyy 19f8a7f43e
🔧 chore(renovate): update version file path
- fix variable name from old_version to old_ver_dir in version file path construction
2025-10-12 12:52:53 +08:00
pooneyy 265a899c2d
🔧 chore(workflow): enhance version update process with better error handling
- add commits counter to track successful commits
- implement directory existence checks before operations
- add git reset and proper file staging with git rm and git add
- check for actual file changes before committing
- improve error messages and exit conditions
- add success status reporting only when commits are pushed
2025-10-10 12:00:41 +08:00
pooneyy 69559ea186
feat(renovate): add directory content verification
- add check_directory_contents function to print directory contents
- integrate directory content check after successful directory rename for better debugging
2025-10-09 03:18:37 +08:00
pooneyy a67be05173
♻️ refactor(renovate): simplify version extraction and add safety functions
- consolidate multiple regex patterns into single comprehensive pattern for version extraction
- add type hints for version variables to improve code clarity
- implement safe_rename_directory function with comprehensive error handling and validation
- create write_version_file function with proper directory creation and error handling
- replace direct file operations with safer function calls
- add permission and system error handling for directory operations
- implement existence checks before directory operations
- add operation success validation after renaming
- improve error messages with clear success/failure indicators
2025-10-07 15:41:29 +08:00
pooneyy 60513cb920
♻️ refactor(workflow): enhance version extraction and workflow reliability
- add type hints to functions for better code clarity
- fix version extraction logic to correctly access version from dictionary
- improve error handling in workflow with better debugging information
- update workflow to use pull request head ref for accurate file detection
- add fallback to 'latest' version when extraction fails
- enhance logging with old and new version display
- rename script reference from .sh to .py in workflow step
- modify checkout action to use head ref instead of default
2025-10-06 21:40:27 +08:00
pooneyy deae7397a8
feat(renovate): migrate from shell script to python implementation and enhance automation
- replace bash script with python script for better version extraction and handling
- add major version label checking and auto-merge workflow
- implement pr author verification and automatic reviewer assignment
- enhance version extraction with multiple pattern support (dots, hyphens, mixed separators)
- add pr body columns configuration and update package rules

🔧 chore(workflows): restructure github actions workflow

- change trigger from push to pull_request events
- add python setup and dependency installation
- implement multi-stage workflow with label checking and auto-merge
- add commit author verification
- improve error handling and retry logic for pr merging
2025-10-06 16:48:14 +08:00