Skip to content

Commit bea1dbd

Browse files
committed
Unified close milestone and upload release tasks
1 parent 6d90582 commit bea1dbd

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

etc/scripts/release.sh

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,20 +70,10 @@ git pull
7070
VERSION=`./gradlew :printVersion -q --configure-on-demand -PSNAPSHOT=false`
7171

7272
# ************************
73-
# Close Milestone on GitHub
73+
# Close Milestone & Upload Release on GitHub
7474
# ************************
7575

76-
./gradlew :closeGitHubMilestone --configure-on-demand -PSNAPSHOT=false -PREPOSITORY_OWNER=$REPOSITORY_OWNER -PREPOSITORY_NAME=$PROJECT_NAME -PGITHUB_OATH_TOKEN=$GIT_HUB_TOKEN
77-
78-
read -p "Verify that the milestone is closed on Milestones [https://github.com/$REPOSITORY_OWNER/$PROJECT_NAME/milestones] and press [Enter] key to continue..."
79-
80-
# ************************
81-
# Upload Release on GitHub
82-
# ************************
83-
84-
./gradlew :createGitHubRelease --configure-on-demand -PSNAPSHOT=false -PREPOSITORY_OWNER=$REPOSITORY_OWNER -PREPOSITORY_NAME=$PROJECT_NAME -PGITHUB_OATH_TOKEN=$GIT_HUB_TOKEN
85-
86-
read -p "Verify that the release is present on Releases [https://github.com/$REPOSITORY_OWNER/$PROJECT_NAME/releases] and press [Enter] key to continue..."
76+
./gradlew :closeGitHubMilestone :createGitHubRelease --configure-on-demand -PSNAPSHOT=false -PREPOSITORY_OWNER=$REPOSITORY_OWNER -PREPOSITORY_NAME=$PROJECT_NAME -PGITHUB_OATH_TOKEN=$GIT_HUB_TOKEN
8777

8878
# ************************
8979
# Generate Change Log

0 commit comments

Comments
 (0)