Update workflow/Semantic version
What is the recommended workflow to keep apps in sync with the framework w/o screwing versions/tags?
If one simply clones the framework repo to start a new app git
will also sync all the version tags. So if the new app also uses GitLab CI/CD every commit to main/master will also be tagged with a new version based on the last version tag. This however poses two problems IMHO:
- When startig a new app from scratch the lowest version number you get is the latest version tag from the framework at the time of inital cloning.
- New version tags (created by the app's GitLab CI/CD) might clash with version tags in the framework repo.
One way to (partly) deal with the first issue is to remove all tags after the initial clone and manually add a version tag (e.g. v0.0.1
). This establishes a totally seperate version tag system in the app (compared to the framework). When merging framework changes into the app one still has to be carefull and distinguish between app version tags and framework version tags (second issue). This is doable IMHO. Not quite sure if this is the way to go though.
So I'm wondering if there is any official guideline to this ...