Skip to content

[Bug]: runNumberOffset not working for versioningStrategy 3 #1810

@gatsby011

Description

@gatsby011

AL-Go version

7.2

Describe the issue

I'm not sure if this is a bug or a feature request, but I was asked to create an issue here.

The original post in Yammer is here:
https://www.yammer.com/dynamicsnavdev/#/Threads/show?threadId=3390175788457984

We're currently using W.X.Y.Z in our versioning, and we're using Y as the minor version digit.

I've been moving our to use CD/CD automation, as well as the Release workflow. I have versioningStrategy set to 3. When I create the release, everything works well, however the artifacts created have a high build number on the end of the app version, i.e. 1.0.5.523.

In that post, it was recommended that we set runNumberOffset to a negativenumber in order to have the build number (i.e. 1.0.5.523) set to 0.

Expected behavior

The expected behaviour would be for the build number to be set to 0, 1.0.5.0 in the description example.

Steps to reproduce

modify the al-go.settings.json file and add "runNumberOffset": -1

Additional context (logs, screenshots, etc.)

I have logs, but is there a document somewhere that says what to omit? We're only using secrets in the settings files

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions