-
Notifications
You must be signed in to change notification settings - Fork 21
Added publish release candidates artifacts #86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Paolo Patierno <[email protected]>
Signed-off-by: Paolo Patierno <[email protected]>
@@ -63,7 +63,8 @@ stages: | |||
displayName: Deploy Java | |||
dependsOn: | |||
- run_systemtests | |||
condition: and(succeeded(), or(eq(variables['build.sourceBranch'], 'refs/heads/main'), startsWith(variables['build.sourceBranch'], 'refs/heads/release-'))) | |||
# Deploy Strimzi Java artifacts -> run only on main branch (where it deploys to OSS snapshot repos) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this comment correct? I thought we weren't pushing to a snapshot repo anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For main branch it pushes the SNAPSHOT every time, that's how it is done also in other repos.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have staging repo anymore but the SNAPSHOTs coming from the main branch are still pushed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks Paolo :)
This PR adds the release of artifacts within the release pipeline in order to release RCs in Maven Central (due to the missing staging area in the new Sonatype system).