Skip to content

Conversation

@andybavier
Copy link
Contributor

Read the contents of the VERSION file directly prior to bumping the version. It is assumed that the pipeline has already validated the VERSION file format using the tag-github workflow.

The idea is to decouple the contents of the VERSION file from the output of tag-github. The former is expected to contain a semver (e.g., 1.2.3) while the latter outputs a tag that is used for the release / Docker images. By convention some repos expect the tag to be prefixed with "v", and therefore the tag is not always identical to the VERSION.

Insights > Dependency graph > Dependents shows that this workflow is only used by two other repos. I will update their workflows after this PR merges.

Signed-off-by: Andy Bavier <andybavier@gmail.com>
Signed-off-by: Andy Bavier <andybavier@gmail.com>
Copy link

@gab-arrobo gab-arrobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
@andybavier, do you think this is something that we should also integrate into the omec-project organization?

@andybavier
Copy link
Contributor Author

LGTM. @andybavier, do you think this is something that we should also integrate into the omec-project organization?

Maybe. Let me get the publish pipeline fully working and tested for onosproject and then we can look at pulling any relevant changes over to omec-project.

@andybavier andybavier merged commit 9f5c6a1 into onosproject:main Jan 23, 2026
3 checks passed
@andybavier andybavier deleted the read-version-file branch January 23, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants