Skip to content

Conversation

QBStevie
Copy link
Contributor

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

Describe Pull request
First, make sure you've read and are following the contribution guidelines and style guide and your code reflects that.
Write up a clear and concise description of what your pull request adds or fixes and if it's an added feature explain why you think it should be included in the core.

If your PR is to fix an issue mention that issue here

Questions (please complete the following information):

  • Have you personally loaded this code into an updated qbcore project and checked all it's functionality? [yes/no] (Be honest)
  • Does your code fit the style guidelines? [yes/no]
  • Does your PR fit the contribution guidelines? [yes/no]

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