Skip to content

Commit adf113e

Browse files
committed
Improved release script
1 parent f6ce9af commit adf113e

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

etc/scripts/release.sh

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,24 +67,11 @@ git stash
6767
git checkout production
6868
git pull
6969

70-
VERSION=`./gradlew :printVersion -q --configure-on-demand -PSNAPSHOT=false`
71-
7270
# ************************
7371
# Close Milestone on GitHub
7472
# Upload Release on GitHub
7573
# Generate Change Log
76-
# ************************
77-
78-
./gradlew :closeGitHubMilestone :createGitHubRelease :generateChangelogTask --configure-on-demand --refresh-dependencies -PSNAPSHOT=false -PREPOSITORY_OWNER=$REPOSITORY_OWNER -PREPOSITORY_NAME=$PROJECT_NAME -PGITHUB_WRITE_TOKEN=$GITHUB_WRITE_TOKEN -PGITHUB_READ_TOKEN=$GITHUB_READ_TOKEN
79-
80-
# ************************
8174
# Deploy to Sonatype repository
8275
# ************************
8376

84-
cd $PROJECT_HOME
85-
86-
cmd="./gradlew clean uploadArchives -PSNAPSHOT=false -PLOCAL_UPLOAD=false"
87-
88-
echo "Executing the following command"
89-
echo "${cmd}"
90-
eval "${cmd}"
77+
./gradlew clean :closeGitHubMilestone :createGitHubRelease :generateChangelogTask uploadArchives --configure-on-demand --refresh-dependencies -PSNAPSHOT=false -PLOCAL_UPLOAD=false -PREPOSITORY_OWNER=$REPOSITORY_OWNER -PREPOSITORY_NAME=$PROJECT_NAME -PGITHUB_WRITE_TOKEN=$GITHUB_WRITE_TOKEN -PGITHUB_READ_TOKEN=$GITHUB_READ_TOKEN

0 commit comments

Comments
 (0)