Skip to content

Conversation

@clobee
Copy link
Collaborator

@clobee clobee commented Apr 28, 2025

This PR adds a workflow which does:

Search the code for GCFO_UNDEFINED_VERSION and replaces it with the last release version.

Automatically craft a new tag (according to the commits).
Each merge is a minor version.

image

image

For intentional versionning, dev can use magic terms in their commit use: #major, #minor, #patch, #none
The code will then be tagged accordingly .

Search the code for GCFO_UNDEFINED_VERSION and replaces it with the latest tag.
The changed files are being saved in the main branch "main" (the production branch).
A new automated will appear on the branch main changing GCFO_UNDEFINED_VERSION to the latest version.

We recommend dev to use a "develop" branch as a trunk/working branch (the day to day changes).
When devs are ready to publish then they can craft a release using the latest tag(s).

image

@clobee clobee force-pushed the version-updater branch 2 times, most recently from a5d4c5f to d9f8737 Compare April 28, 2025 12:14
@clobee clobee requested a review from jojobote April 28, 2025 12:14
@jojobote
Copy link
Collaborator

looks good, how do we make sure this happens at the right time ?
Process should be :

  • merge code > autocommit new version in files (using last release + 1 ?) > publish new tag/release

Whereas this looks to do :

  • merge code > autocommit current release in files > we need to draft new release with wrong version ?

Let me know if I didnt understand this correctly

@clobee clobee added the enhancement New feature or request label Apr 29, 2025
@clobee clobee force-pushed the version-updater branch from d9f8737 to 78d9b17 Compare May 15, 2025 12:42
@clobee
Copy link
Collaborator Author

clobee commented May 15, 2025

@jojobote I have update the description according to the changes made to the workflow. Looking forward to your feedback.Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants