How to implement "fixed" app versioning? #1812
Unanswered
ernestasjuska
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We would like to use app versions as they are specified in the source code and not increment them using CI/CD. Created GitHub packages should have incremental versions though.
We have to release apps for both AppSource and on-prem customers (BC24 and above). We don't generate runtime packages using CI/CD and create them manually when needed.
These are our current versioning strategies:
<BcMajor>.<BcMinor>.<AppReleaseMajor>.<AppReleaseMinor>
- "old versioning"<AppReleaseMajor>.<AppReleaseMinor><BcMajor>.<BcMinor>
- "new versioning"Our branching strategy is:
WIP
branch - normal development usually on the latest or second to latest BC major versioncode/bcXX
branches - code branches for specific BC versions we have to support - we merge code here fromWIP
(mainly we use ladder like merging WIP -> code/bc26 -> code/bc25 -> code/bc24 that eliminates the need to make same changes multiple times).releases/bcXX
branches - code branches for released apps - we merge code from code/bcXX branch to releases/bcXX branch using git commit-tree to ensure code/bcXX and release/bcXX code matches exactly after the release. IMHO, we should use Git tags here and remove the need for release branches but I never get the time to do it.CI/CD pipelines in Azure DevOps runs after pushes to code/bcXX and release/bcXX branches. Apps build from code/bcXX and releases/bcXX goes to prerelease and release folders in our network share. We would like to modernize and use artifacts/package store.
I would like to at least move our library apps to AL-Go and use a single repo for all of them. Each app may have a different version and if possible I would like to not have to increment app version if there are no code changes.
I would like hear your suggestions on how we should proceed.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions