Skip to content

Semantic Version Bump #1193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

QBStevie
Copy link

Semantic Version Bump

This GitHub Action automatically bumps the version in your fxmanifest.lua based on the commit message that triggered the push. It uses Conventional Commits to determine whether to apply a patch, minor, or major version bump.

  • The Action reads the current version from fxmanifest.lua (e.g. version '1.3.0')
  • It inspects the latest commit message:
    • fix: → bumps PATCH
    • feat: → bumps MINOR
    • feat!: or BREAKING CHANGE: → bumps MAJOR
  • It writes the new version back into fxmanifest.lua
  • Commits and pushes the updated version with the original commit message included

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.

1 participant