This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch release/0.24 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/release/0.24 by this push: new 80045ba Update comment doc release script. 80045ba is described below commit 80045ba675414ceec79f20cf0c2bbe86f007351b Author: YorkShen <shenyua...@gmail.com> AuthorDate: Fri May 24 14:32:19 2019 +0800 Update comment doc release script. --- scripts/apache_release.sh | 6 +++--- scripts/publish_release_candidate.sh | 8 ++++---- scripts/publish_release_official.sh | 13 +++++++------ 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/scripts/apache_release.sh b/scripts/apache_release.sh index 5b8e8c5..09590e9 100755 --- a/scripts/apache_release.sh +++ b/scripts/apache_release.sh @@ -17,11 +17,11 @@ # under the License. # This script is used to genereate release source, signature and checksum. One may invoke this script by -# scripts/apache_release.sh 0.24.0-RC3 0.19.0.2 +# scripts/apache_release.sh $RELEASE_CANDIDATE $TAG_OF_LATEST_RELEASE # Explanation for variable: -# $1 The fullname of the release candidate -# $2 Weex tag of last release, RELEASE_NOTE.md came from the difference between $1 and $2 +# $RELEASE_CANDIDATE The fullname of the release candidate, like 0.24.0-RC3 +# $TAG_OF_LATEST_RELEASE Weex tag of last release, like 0.19.0.2. RELEASE_NOTE.md came from the difference between $RELEASE_CANDIDATE and $TAG_OF_LATEST_RELEASE . rm -f commit-history.log git log --pretty=format:"%s %h" --no-merges "$2"..HEAD > commit-history.log diff --git a/scripts/publish_release_candidate.sh b/scripts/publish_release_candidate.sh index 98ce6b9..ef7465e 100755 --- a/scripts/publish_release_candidate.sh +++ b/scripts/publish_release_candidate.sh @@ -18,12 +18,12 @@ # This scirpt is used to publish release candidate in Apache, Github # One may invoke this script by -# scripts/publish_release_candidate.sh 0.24.0 RC3 github-Apache +# scripts/publish_release_candidate.sh $RELEASE_CANDIDATE_PREFIX $RELEASE_CANDIDATE_SUFFIX $GIT_REMOTE # Explanation for variable: -# $1 Weex release candidate prefix -# $2 The release candaidate suffix -# $3 The name of your Github repository, whose URL should be g...@github.com:apache/incubator-weex.git +# $RELEASE_CANDIDATE_PREFIX, Weex release candidate prefix, like 0.24.0 +# $RELEASE_CANDIDATE_SUFFIX, The release candaidate suffix, like RC3 +# $GIT_REMOTE The name of your Github repository, like github-Apache whose URL should be g...@github.com:apache/incubator-weex.git git tag "$1-$2" git push "$3" "$1-$2" diff --git a/scripts/publish_release_official.sh b/scripts/publish_release_official.sh index d65d802..3e916a8 100755 --- a/scripts/publish_release_official.sh +++ b/scripts/publish_release_official.sh @@ -19,14 +19,15 @@ # This scirpt is used to publish release officially in Apache, Github Tag, Github Release, Android JCenter. # One may invoke this script by # scripts/publish_release_official.sh 0.24.0 RC3 0.19.0 github-Apache token1 token2 +# scripts/publish_release_official.sh $RELEASE_CANDIDATE_PREFIX $RELEASE_CANDIDATE_SUFFIX $TAG_OF_LATEST_RELEASE $GIT_REMOTE $GITHUB_PERSONAL_TOKEN $JCENTER_TOKEN # Explanation for variable: -# $1 Weex tag of current release -# $2 The release candaidate suffix -# $3 Weex tag of last release, RELEASE_NOTE.md came from the difference between $1 and $3 -# $4 The name of your Github repository, whose URL should be g...@github.com:apache/incubator-weex.git -# $5 The personal access token of your github Account(https://github.com/settings/tokens), which should have write priviledge to g...@github.com:apache/incubator-weex.git . The personal access token is used to publish Github Release -# $6 The private key for JCenter (https://bintray.com/alibabaweex/maven/weex_sdk/), which is the distribution channel for Android +# $RELEASE_CANDIDATE_PREFIX, Weex release candidate prefix, like 0.24.0 +# $RELEASE_CANDIDATE_SUFFIX, The release candaidate suffix, like RC3 +# $TAG_OF_LATEST_RELEASE Weex tag of last release, like 0.19.0.2. RELEASE_NOTE.md came from the difference between ${RELEASE_CANDIDATE_PREFIX}-${RELEASE_CANDIDATE_SUFFIX} and $TAG_OF_LATEST_RELEASE . +# $GIT_REMOTE The name of your Github repository, like github-Apache whose URL should be g...@github.com:apache/incubator-weex.git +# $GITHUB_PERSONAL_TOKEN The personal access token of your github Account(https://github.com/settings/tokens), which should have write priviledge to g...@github.com:apache/incubator-weex.git . The personal access token is used to publish Github Release +# $JCENTER_TOKEN The private key for JCenter (https://bintray.com/alibabaweex/maven/weex_sdk/), which is the distribution channel for Android # Prepare RELEASE_NOTE.md rm -f commit-history.log