Repository: bahir Updated Branches: refs/heads/master f29f4f436 -> 3d18be0c4
[MINOR] Update release script usage documentation Project: http://git-wip-us.apache.org/repos/asf/bahir/repo Commit: http://git-wip-us.apache.org/repos/asf/bahir/commit/3d18be0c Tree: http://git-wip-us.apache.org/repos/asf/bahir/tree/3d18be0c Diff: http://git-wip-us.apache.org/repos/asf/bahir/diff/3d18be0c Branch: refs/heads/master Commit: 3d18be0c4c44e00791eb6bec5ca231dbe7ac5c1e Parents: f29f4f4 Author: Luciano Resende <[email protected]> Authored: Fri Nov 30 15:54:26 2018 +0100 Committer: Luciano Resende <[email protected]> Committed: Fri Nov 30 15:54:26 2018 +0100 ---------------------------------------------------------------------- dev/release-build.sh | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bahir/blob/3d18be0c/dev/release-build.sh ---------------------------------------------------------------------- diff --git a/dev/release-build.sh b/dev/release-build.sh index 283dccf..a2dc5e2 100755 --- a/dev/release-build.sh +++ b/dev/release-build.sh @@ -32,15 +32,15 @@ Use maven infrastructure to create a project release package and publish to staging release location (https://dist.apache.org/repos/dist/dev/bahir) and maven staging release repository. ---release-prepare --releaseVersion="2.0.0" --developmentVersion="2.1.0-SNAPSHOT" [--releaseRc="rc1"] [--tag="v2.0.0"] [--gitCommitHash="a874b73"] +--release-prepare --releaseVersion="2.3.0" --developmentVersion="2.4.0-SNAPSHOT" [--releaseRc="rc1"] [--tag="v2.3.0-rc1"] [--gitCommitHash="a874b73"] This form execute maven release:prepare and upload the release candidate distribution to the staging release location. ---release-publish --gitCommitHash="a874b73" +--release-publish --tag="v2.3.0-rc1" Publish the maven artifacts of a release to the Apache staging maven repository. Note that this will publish both Scala 2.10 and 2.11 artifacts. ---release-snapshot [--gitCommitHash="a874b73"] +--release-snapshot Publish the maven snapshot artifacts to Apache snapshots maven repository Note that this will publish both Scala 2.10 and 2.11 artifacts. @@ -59,15 +59,13 @@ GPG_PASSPHRASE - Passphrase for GPG key used to sign release EXAMPLES -release-build.sh --release-prepare --releaseVersion="2.0.0" --developmentVersion="2.1.0-SNAPSHOT" -release-build.sh --release-prepare --releaseVersion="2.0.0" --developmentVersion="2.1.0-SNAPSHOT" --releaseRc="rc1" --tag="v2.0.0" -release-build.sh --release-prepare --releaseVersion="2.0.0" --developmentVersion="2.1.0-SNAPSHOT" --releaseRc="rc1" --tag="v2.0.0" --gitCommitHash="a874b73" --dryRun +release-build.sh --release-prepare --releaseVersion="2.3.0" --developmentVersion="2.4.0-SNAPSHOT" +release-build.sh --release-prepare --releaseVersion="2.3.0" --developmentVersion="2.4.0-SNAPSHOT" --releaseRc="rc1" +release-build.sh --release-prepare --releaseVersion="2.3.0" --developmentVersion="2.4.0-SNAPSHOT" --tag="v2.3.0-rc1" --gitCommitHash="a874b73" --dryRun -release-build.sh --release-publish --gitCommitHash="a874b73" -release-build.sh --release-publish --gitTag="v2.0.0rc1" +release-build.sh --release-publish --gitTag="v2.3.0rc1" release-build.sh --release-snapshot -release-build.sh --release-snapshot --gitCommitHash="a874b73" EOF exit 1
