Skip to content
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

[DEVOPS] - Automatic versioning of the mod #188

Open
Gilly7CE opened this issue Aug 29, 2023 · 0 comments
Open

[DEVOPS] - Automatic versioning of the mod #188

Gilly7CE opened this issue Aug 29, 2023 · 0 comments
Assignees
Labels
investigation Needs investigating and/or testing low priority Issue is of low priority workflow A new or existing workflow

Comments

@Gilly7CE
Copy link
Owner

I want a mechanism for automatically versioning the mod as it can be easily forgotten when publishing a release. Some options:

  • Git commit messages
    • Conventional commits is good for "standard" software development but might not work as well for a minecraft mod
    • Custom commit message standard could help, but enforcing it is the tricky bit (Husky is good for sharing git hooks but I personally have no clue how to implement it outside of npm)
  • Pull request merge commits
    • The merge (or squash) commit of a PR will indicate the type of incremental change required.
    • Doesn't really work with our
  • Branch
    • If merging a PR to main, then increment a "dev" version.
    • If not main, then it is a release version

Opens up the question of whether the branch approach we take to releases is correct, and whether we should follow something like TIS carpet addons with 1 branch for all versions supported. 1 branch would help with versioning massively, and tags would be simpler.

@Gilly7CE Gilly7CE added workflow A new or existing workflow investigation Needs investigating and/or testing low priority Issue is of low priority labels Aug 29, 2023
@Gilly7CE Gilly7CE self-assigned this Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigation Needs investigating and/or testing low priority Issue is of low priority workflow A new or existing workflow
Projects
None yet
Development

No branches or pull requests

1 participant