Skip to content

Commit c7d3e3e

Browse files
CI: do not publish Maven packages from tag pipelines.
1 parent 0ee65e0 commit c7d3e3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ test-jdk-x86:
117117
upload-to-internal:
118118
stage: upload-to-internal
119119
tags: [ docker, x64 ]
120+
except:
121+
- tags # Only publish from branches.
120122
script:
121123
- ./gradlew $GITLAB_REPO_ARGS $VERSION_ARGS publishMavenJavaPublicationToGitLabRepository
122124

0 commit comments

Comments
 (0)