Skip to content

create more robust ci-cd pipeline#195

Open
lemonman96 wants to merge 1 commit intomasterfrom
github-ci-improvements
Open

create more robust ci-cd pipeline#195
lemonman96 wants to merge 1 commit intomasterfrom
github-ci-improvements

Conversation

@lemonman96
Copy link
Copy Markdown
Collaborator

No description provided.

@lemonman96
Copy link
Copy Markdown
Collaborator Author

lemonman96 commented Apr 7, 2026

New pipeline changes to allow more control over publishing/enable auto snapshot publishing. Essentially there are 3 cases:

Manual workflow and run_all is true: publish all packages with version described in build.gradle

Manual workflow and run_all is false: publish subproject specified in run_specificwith version described in build.gradle. run_specific should be of the form sensorhub-*

Workflow started via push (or merge) to master: Changes are detected and set difference is performed against the project list. Resulting list of projects are automatically published with -SNAPSHOT appended to the version number described in the build.gradle

In this way version numbers are still driven via the individual build.gradle files, so manual updates to these version numbers must be in place before doing a non snapshot release.

@lemonman96 lemonman96 marked this pull request as ready for review April 7, 2026 17:22
@lemonman96 lemonman96 self-assigned this Apr 7, 2026
Copy link
Copy Markdown
Collaborator

@nickgaray nickgaray left a comment

Choose a reason for hiding this comment

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

Does this mean then that on a merge to master all changed modules will be published? Will this work for packages with classifiers as well?

@lemonman96
Copy link
Copy Markdown
Collaborator Author

Does this mean then that on a merge to master all changed modules will be published? Will this work for packages with classifiers as well?

Yes, and as long as the classifiers are added during the publish task then those should be published as well. Changed modules are appended with -SNAPSHOT and are allowed overwrites

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants