forked from javaparser/javaparser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_release_perform.sh
executable file
·37 lines (32 loc) · 1.98 KB
/
run_release_perform.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env bash
#TODO --- Replace all mentions of Bintray
echo "[JavaParser]"
echo "[JavaParser]"
echo "[JavaParser]: See also: http://github.com/javaparser/javaparser/wiki/Release-Process"
echo "[JavaParser]"
echo "[JavaParser]: ##"
echo "[JavaParser]: ##"
echo "[JavaParser]: ## TODO --- Replace all mentions of Bintray"
echo "[JavaParser]: ##"
echo "[JavaParser]: ##"
echo "[JavaParser]"
echo "[JavaParser]: Before running this script, ensure that your settings.xml file (~/.m/setings.xml) has been updated with your Bintray credentials."
echo "[JavaParser]: - A template settings.xml file can be found within the dev-files directory."
echo "[JavaParser]: - You must also be added to the JavaParser organisation on Bintray for releases to be successful."
echo "[JavaParser]:"
echo "[JavaParser]: Note that the git repo uses the SSH URL to pull/push -- this, therefore, requires you to have setup SSH access to your GitHub account."
echo "[JavaParser]:"
echo "[JavaParser]: Once the release is complete and has been uploaded to Bintray, there is still an oppotunity for it to be deleted via the Bintray website."
echo "[JavaParser]: - To push it to Maven Central (therefore be available to users), it must be synchronised via the Bintray web UI."
echo "[JavaParser]: - When successful, Bintray will report 'Last Sync Status: Successfully synced and closed repo.'"
echo "[JavaParser]:"
echo "[JavaParser]: - Note that you MUST have sonatype credentials that can be entered into the Bintray web UI to trigger the sync"
echo "[JavaParser]: (the same credentials used to login to http://oss.sonatype.org/ )."
echo "[JavaParser]:"
echo "[JavaParser]: - Note that you MUST have your sonatype account linked to the JavaParser coordinates, to trigger the sync FROM Bintray TO Sonatype/Maven Central."
echo "[JavaParser]: This can be done by having an existing committer open a ticket at https://issues.sonatype.org/ ."
echo "[JavaParser]"
echo "[JavaParser]"
set -x
./mvnw -e -Darguments="-DskipTests" release:perform
set +x