Skip to content

Commit 73478bf

Browse files
authored
Add comment to re-run Github deployment if Sonatype deployment was re-run (#9069)
* Add comment to re-run pipeline
1 parent 0a60888 commit 73478bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,7 @@ deploy_to_di_backend:manual:
739739
UPSTREAM_COMMIT_AUTHOR: $CI_COMMIT_AUTHOR
740740
UPSTREAM_COMMIT_SHORT_SHA: $CI_COMMIT_SHORT_SHA
741741

742+
# If the deploy_to_sonatype job is re-run, re-trigger the deploy_artifacts_to_github job as well so that the artifacts match.
742743
deploy_to_sonatype:
743744
extends: .gradle_build
744745
stage: publish
@@ -775,7 +776,7 @@ deploy_artifacts_to_github:
775776
when: never
776777
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/'
777778
when: on_success
778-
# Requires the deploy_to_sonatype job to have run first the UP-TO-DATE gradle check across jobs is broken
779+
# Requires the deploy_to_sonatype job to have run first (the UP-TO-DATE gradle check across jobs is broken)
779780
# This will deploy the artifacts built from the publishToSonatype task to the GitHub release
780781
needs:
781782
- job: deploy_to_sonatype

0 commit comments

Comments
 (0)