Issue with updateVersionNumber After Creating a Release Using AL-Go Action #1778
-
After creating a release using the AL-Go action "Create Release", I encountered the following error: It seems that the updateVersionNumber is not in the expected format. However, I'm unable to create a new release because it's not allowed to create a second release on the same commit. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
So, the release was created successfully but the workflow failed when it was trying to update version numbers? If that's the case, you can increment the version numbers with the "Increment Version Number" workflow. Which version of AL-Go are you running? |
Beta Was this translation helpful? Give feedback.
Depending on your settings this error is likely expected. Did you set the versioningStrategy setting somewhere in your AL-Go settings? If not, try looking in the log for versioningStrategy.
If your versioning strategy is anything else than 3, the build.revision section of the build number (major.minor.build.revision) will be controlled by AL-Go. That's why we throw an error when you try to increment the revision number.
If you want to control the revision number from the app.jsons, you'd need to set your versioningstrategy to 3. If you do, I expect the workflow to succeed.
More information on versioning strategies here:
https://aka.ms/algosettings#VersioningStrategy