Skip to content

Commit 8839219

Browse files
GitLab: do not upload to internal from main branch
1 parent 6d65a6a commit 8839219

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ upload-to-internal:
124124
except:
125125
- tags # Only publish from branches.
126126
- schedules # Do not publish artifacts from scheduled jobs to save on disk space.
127+
- main # Do not overwrite release artifacts.
127128
script:
128129
- ./gradlew $GITLAB_REPO_ARGS $VERSION_ARGS publishMavenJavaPublicationToGitLabRepository
129130

0 commit comments

Comments
 (0)