Skip to content

Commit 3295ddf

Browse files
author
Fernando Saint-Jean
committed
adds the ignoring of gpg to travis file
1 parent e79b4ac commit 3295ddf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

travis/publish.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,23 +110,23 @@ if ! is_pull_request && build_started_by_tag; then
110110
check_release_tag
111111
fi
112112

113-
./mvnw install -nsu
113+
./mvnw install -nsu -Dgpg.skip=true
114114

115115
# If we are on a pull request, our only job is to run tests, which happened above via ./mvnw install
116116
if is_pull_request; then
117117
true
118118
# If we are on master, we will deploy the latest snapshot or release version
119119
# - If a release commit fails to deploy for a transient reason, delete the broken version from bintray and click rebuild
120120
elif is_travis_branch_master; then
121-
./mvnw --batch-mode -s ./.settings.xml -Prelease -nsu -DskipTests deploy
121+
./mvnw --batch-mode -s ./.settings.xml -Prelease -nsu -DskipTests -Dgpg.skip=true deploy
122122

123123
# If the deployment succeeded, sync it to Maven Central. Note: this needs to be done once per project, not module, hence -N
124124
if is_release_commit; then
125-
./mvnw --batch-mode -s ./.settings.xml -nsu -N io.zipkin.centralsync-maven-plugin:centralsync-maven-plugin:sync
125+
./mvnw --batch-mode -s ./.settings.xml -nsu -Dgpg.skip=true -N io.zipkin.centralsync-maven-plugin:centralsync-maven-plugin:sync
126126
fi
127127

128128
# If we are on a release tag, the following will update any version references and push a version tag for deployment.
129129
elif build_started_by_tag; then
130130
safe_checkout_master
131-
./mvnw --batch-mode -s ./.settings.xml -Prelease -nsu -DreleaseVersion="$(release_version)" -Darguments="-DskipTests" release:prepare
131+
./mvnw --batch-mode -s ./.settings.xml -Prelease -nsu -DreleaseVersion="$(release_version)" -Darguments="-DskipTests -Dgpg.skip=true" release:prepare
132132
fi

0 commit comments

Comments
 (0)