Skip to content

Commit 993e9d4

Browse files
committed
Release Grails 3.2.0.RC1
1 parent 36d75b8 commit 993e9d4

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

travis-publish-archives.sh

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ if [[ $TRAVIS_PULL_REQUEST == 'false'
3434
echo "Running Gradle publish for branch $TRAVIS_BRANCH"
3535

3636
if [[ $TRAVIS_TAG =~ ^v[[:digit:]] ]]; then
37-
./gradlew -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/secring.gpg" publish uploadArchives -x grails-bom:uploadArchives -x grails-dependencies:uploadArchives || EXIT_STATUS=$?
38-
./gradlew closeAndPromoteRepository
37+
#./gradlew -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/secring.gpg" publish uploadArchives -x grails-bom:uploadArchives -x grails-dependencies:uploadArchives || EXIT_STATUS=$?
38+
#./gradlew closeAndPromoteRepository
3939

4040
if [[ $EXIT_STATUS == 0 ]]; then
41-
./gradlew --stop
41+
#./gradlew --stop
4242
# wait 30 seconds to ensure the previous promotion completes
43-
sleep 30
43+
#sleep 30
4444
./gradlew -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/secring.gpg" grails-dependencies:uploadArchives grails-bom:uploadArchives || EXIT_STATUS=$?
4545
./gradlew closeAndPromoteRepository
4646
fi
@@ -50,35 +50,35 @@ if [[ $TRAVIS_PULL_REQUEST == 'false'
5050
fi
5151

5252
# Configure GIT
53-
git config --global credential.helper "store --file=~/.git-credentials"
54-
echo "https://$GH_TOKEN:@github.com" > ~/.git-credentials
53+
#git config --global credential.helper "store --file=~/.git-credentials"
54+
#echo "https://$GH_TOKEN:@github.com" > ~/.git-credentials
5555

56-
git config --global user.name "$GIT_NAME"
57-
git config --global user.email "$GIT_EMAIL"
56+
#git config --global user.name "$GIT_NAME"
57+
#git config --global user.email "$GIT_EMAIL"
5858

5959
# Tag and release the docs
60-
git clone https://${GH_TOKEN}@github.com/grails/grails-doc.git grails-doc
61-
cd grails-doc
60+
#git clone https://${GH_TOKEN}@github.com/grails/grails-doc.git grails-doc
61+
#cd grails-doc
6262

63-
echo "grails.version=${TRAVIS_TAG:1}" > gradle.properties
64-
git add gradle.properties
65-
git commit -m "Release $TRAVIS_TAG docs"
66-
git tag $TRAVIS_TAG
67-
git push --tags
68-
git push
69-
cd ..
63+
#echo "grails.version=${TRAVIS_TAG:1}" > gradle.properties
64+
#git add gradle.properties
65+
#git commit -m "Release $TRAVIS_TAG docs"
66+
#git tag $TRAVIS_TAG
67+
#git push --tags
68+
#git push
69+
#cd ..
7070

7171
# Update the website
72-
git clone https://${GH_TOKEN}@github.com/grails/grails-static-website.git
73-
cd grails-static-website
74-
echo -e "${TRAVIS_TAG:1}" >> generator/src/main/resources/versions
75-
git add generator/src/main/resources/versions
76-
git commit -m "Release Grails $TRAVIS_TAG"
77-
git push
78-
cd ..
72+
#git clone https://${GH_TOKEN}@github.com/grails/grails-static-website.git
73+
#cd grails-static-website
74+
#echo -e "${TRAVIS_TAG:1}" >> generator/src/main/resources/versions
75+
#git add generator/src/main/resources/versions
76+
#git commit -m "Release Grails $TRAVIS_TAG"
77+
#git push
78+
#cd ..
7979

8080
# Rebuild Artifactory index
81-
curl -H "X-Api-Key:$ARTIFACTORY_API_KEY" -X POST "http://repo.grails.org/grails/api/maven?repos=libs-releases-local,plugins-releases-local,plugins3-releases-local,core&force=1"
81+
#curl -H "X-Api-Key:$ARTIFACTORY_API_KEY" -X POST "http://repo.grails.org/grails/api/maven?repos=libs-releases-local,plugins-releases-local,plugins3-releases-local,core&force=1"
8282

8383
elif [[ $TRAVIS_BRANCH =~ ^master|[23]\..\.x$ ]]; then
8484
./gradlew -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/secring.gpg" publish || EXIT_STATUS=$?

0 commit comments

Comments
 (0)