You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flagon.apache.org by po...@apache.org on 2019/06/05 03:43:07 UTC
[incubator-flagon] branch FLAGON-344 updated: [FLAGON-391] Update
release scripts with new URL and Flagon name
This is an automated email from the ASF dual-hosted git repository.
poorejc pushed a commit to branch FLAGON-344
in repository https://gitbox.apache.org/repos/asf/incubator-flagon.git
The following commit(s) were added to refs/heads/FLAGON-344 by this push:
new 84f3c04 [FLAGON-391] Update release scripts with new URL and Flagon name
84f3c04 is described below
commit 84f3c04a56a609e1e6e9ac790611bfde626d6d73
Author: poorejc <po...@apache.org>
AuthorDate: Tue Jun 4 23:42:37 2019 -0400
[FLAGON-391] Update release scripts with new URL and Flagon name
---
release/README.md | 9 +++++----
release/clone-and-configure-repos.sh | 18 +++++++++---------
release/make-release-artifacts.sh | 6 +++---
3 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/release/README.md b/release/README.md
index f233d97..ed5c418 100644
--- a/release/README.md
+++ b/release/README.md
@@ -1,7 +1,7 @@
Release Scripts and Helpers
===========================
-This folder contains a number of items that will assist in the production of SensSoft releases.
+This folder contains a number of items that will assist in the production of Apache Flagon releases.
Release scripts - make-release-artifacts.sh
-------------------------------------------
@@ -9,7 +9,7 @@ Release scripts - make-release-artifacts.sh
this script rather than "rolling your own" or using a manual process, as this script codifies several Apache
requirements about the release artifacts.
-These scripts are fully documented in **[Release Process](https://cwiki.apache.org/confluence/display/SENSSOFT/UserALE.js+Release+Management+Procedure)** page on Confluence.
+These scripts are fully documented in **[Release Process](https://cwiki.apache.org/confluence/display/FLAGON/UserALE.js+Release+Management+Procedure)** page on Confluence.
Quickstart
----------
@@ -19,9 +19,10 @@ Quickstart
```
Ensure $APACHE_DIST_SVN_DIR is set in your environment.
-1. Change working directory to incubator-senssoft-useralejs.
+1. Change working directory to incubator-flagon-useralejs.
```bash
- cd incubator-senssoft-userale.js
+ cd incubator-flagon-useralejs
+ # git checkout "Branch_Name"
```
1. Release.
diff --git a/release/clone-and-configure-repos.sh b/release/clone-and-configure-repos.sh
index 0fbfe14..25b08c5 100755
--- a/release/clone-and-configure-repos.sh
+++ b/release/clone-and-configure-repos.sh
@@ -24,7 +24,7 @@
# Print out usage documentation.
help_usage() {
echo "clone-and-configure-repos."
- echo "A simple utility to configure SENSSOFT repostories and prepare them for release."
+ echo "A simple utility to configure Apache Flagon repostories and prepare them for release."
echo ""
echo "Usage: $ clone-and-configure-repos.sh COMMAND"
echo ""
@@ -44,14 +44,14 @@ help_commands() {
}
# Do the basics
-# git clone -o apache-git https://git-wip-us.apache.org/repos/asf/incubator-senssoft-useralejs
-# cd incubator-senssoft-useralejs
+# git clone -o apache-git https://gitbox.apache.org/repos/asf/incubator-flagon-useralejs.git
+# cd incubator-flagon-useralejs
# git submodule init
# git submodule update --remote --merge --recursive
# .gitmodules sets the submodules up from GitHub. Replace the origin with Apache canonical
-# git submodule foreach 'git remote add apache-git https://git-wip-us.apache.org/repos/asf/${name}'
+# git submodule foreach 'git remote add apache-git https://gitbox.apache.org/repos/asf/${name}'
# git submodule foreach 'git fetch apache-git'
# git submodule foreach 'git checkout master'
# git submodule foreach 'git branch --set-upstream-to apache-git/master master'
@@ -84,13 +84,13 @@ fi
# Prepare for UserALE deployment
if [[ $COMMAND == "useralejs" ]]; then
# Do the basics
- git clone -o apache-git https://git-wip-us.apache.org/repos/asf/incubator-senssoft-$COMMAND
- cd incubator-senssoft-$COMMAND
+ git clone -o apache-git https://gitbox.apache.org/repos/asf/incubator-flagon-$COMMAND
+ cd incubator-flagon-$COMMAND
# And also the location for publishing RC artifacts
- svn --non-interactive co --depth=immediates https://dist.apache.org/repos/dist/release/incubator/senssoft ~/tmp/apache-dist-release-incubator-senssoft-$COMMAND
- svn --non-interactive co --depth=immediates https://dist.apache.org/repos/dist/dev/incubator/senssoft ~/tmp/apache-dist-dev-incubator-senssoft-$COMMAND
- echo "export APACHE_DIST_SVN_DIR=$HOME/tmp/apache-dist-dev-incubator-senssoft-$COMMAND" >> ~/.bash_profile
+ svn --non-interactive co --depth=immediates https://dist.apache.org/repos/dist/release/incubator/flagon ~/tmp/apache-dist-release-incubator-flagon-$COMMAND
+ svn --non-interactive co --depth=immediates https://dist.apache.org/repos/dist/dev/incubator/flagon ~/tmp/apache-dist-dev-incubator-flagon-$COMMAND
+ echo "export APACHE_DIST_SVN_DIR=$HOME/tmp/apache-dist-dev-incubator-flagon-$COMMAND" >> ~/.bash_profile
exit 0
fi
diff --git a/release/make-release-artifacts.sh b/release/make-release-artifacts.sh
index cef1686..c5dde65 100755
--- a/release/make-release-artifacts.sh
+++ b/release/make-release-artifacts.sh
@@ -36,7 +36,7 @@ release_script_dir=$( cd $( dirname $0 ) && pwd )
show_help() {
cat >&2 <<END
Usage: make-release-artifacts.sh [-v version] [-r rc_number]
-Prepares and builds the source and binary distribution artifacts of a SensSoft
+Prepares and builds the source and binary distribution artifacts of an Apache Flagon
release.
-v VERSION overrides the name of this version, if detection
@@ -101,7 +101,7 @@ detect_version
###############################################################################
# Determine all filenames and paths, and confirm
-release_name=apache-senssoft-useralejs-${current_version}
+release_name=apache-flagon-useralejs-incubating-${current_version}
if [ -z "$rc_suffix" ]; then
fail Specifying the RC number is required
else
@@ -245,5 +245,5 @@ echo "The release is done - here is what has been created:"
ls ${artifact_dir}
echo "You can find these files in: ${artifact_dir}"
echo "The git commit IDs for the voting emails are:"
-echo -n "incubator-senssoft-userale: " && git rev-parse HEAD
+echo -n "incubator-flagon-userale: " && git rev-parse HEAD
git submodule --quiet foreach 'echo -n "${name}: " && git rev-parse HEAD'
\ No newline at end of file