Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for Semantic Versioning and Release Automation
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[BRANCH_NAME] - ✦
[VERSION_FILE] - ✦
[CHANGELOG_PATH]
semantic-versioning-release-automation.txt
Act as a Release Engineer. Create a GitHub Actions workflow that automates semantic versioning. Requirements: 1) Trigger on merges to [BRANCH_NAME]. 2) Analyze commit messages (Conventional Commits) to determine the version bump (major, minor, patch). 3) Update [VERSION_FILE] and [CHANGELOG_PATH]. 4) Create a Git tag and a GitHub Release with auto-generated release notes. 5) Ensure the GITHUB_TOKEN has write permissions for content and PRs.
Example Output
"A workflow utilizing 'google-github-actions/release-please-action' or 'cycjimmy/semantic-release-action' for automated versioning."