- Add support for pushing from the web repository
 - Correct capitalization

Signed-off-by: Matt Darfeuille <matd...@gmail.com>
---
 build/release | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/build/release b/build/release
index 9ecfee54..d7f4c9dc 100755
--- a/build/release
+++ b/build/release
@@ -45,7 +45,7 @@
 #
 TOOLSDIR=~/shorewall/tools/build
 #
-# GIT Code Repository
+# Git Code Repository
 #
 GIT=~/shorewall/trunk
 #
@@ -53,6 +53,10 @@ GIT=~/shorewall/trunk
 #
 GITRELEASEDIR=~/shorewall/release
 #
+# Git Web Repository
+#
+WEBDIR=~/shorewall/web
+#
 # Message for the newly created tag
 # The '-a' option will append the <$VERSION>
 # to the end of the tag message.
@@ -294,9 +298,11 @@ esac
 if [ -n "$CHECKOUT_BRANCH_AUTO" -o -z "$CHECKOUT_BRANCH_AUTO" -a -z 
"$CHECKOUT_BRANCH_NAME" ]; then
     checkout_branch_func $GIT $BASEVERSION
     checkout_branch_func $GITRELEASEDIR $BASEVERSION
+    checkout_branch_func $WEBDIR $BASEVERSION
 elif [ -n "$CHECKOUT_BRANCH_NAME" ]; then
     checkout_branch_func $GIT $CHECKOUT_BRANCH_NAME
     checkout_branch_func $GITRELEASEDIR $CHECKOUT_BRANCH_NAME
+    checkout_branch_func $WEBDIR $CHECKOUT_BRANCH_NAME
 fi
 
 if [ -z "$GIT_CODE_OBJECT" -a -z "$GIT_RELEASE_OBJECT" ]; then
@@ -323,4 +329,5 @@ esac
 for repo in $REPOSITORIES; do
     push_command_func $GIT $repo
     push_command_func $GITRELEASEDIR $repo
+    push_command_func $WEBDIR $repo
 done
-- 
2.17.0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-devel mailing list
Shorewall-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to