Signed-off-by: Matt Darfeuille <[email protected]>
---
build/release | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/build/release b/build/release
index 27d89564..a8aa76f3 100755
--- a/build/release
+++ b/build/release
@@ -41,6 +41,10 @@
# C O N F I G U R A T I O N
################################################################################
#
+# Build Directory
+#
+BUILD_DIR=~/shorewall/build
+#
# Git Code Repository
#
GIT=~/shorewall/trunk
@@ -325,6 +329,8 @@ case $VERSION in
;;
esac
+[ -d "$BUILD_DIR/$BASEVERSION" ] || { fatal_error "Build directory
\"$BUILD_DIR/$BASEVERSION\" does not exist."; }
+
if [ -z "$GIT_CODE_OBJECT" -a -z "$GIT_RELEASE_OBJECT" ]; then
create_tag $GIT
create_tag $GITRELEASEDIR
@@ -346,6 +352,8 @@ for repo in $REPOSITORIES; do
push_command_func $GITRELEASEDIR $repo master
done
+cd $BUILD_DIR/$BASEVERSION
+
case $VERSION in
*[bB]ase*)
[ -f "$TOOLSDIR/build/upload" ] && $TOOLSDIR/build/upload $BASEVERSION
@@ -358,3 +366,5 @@ esac
cd $WEBDIR
[ -f "$WEBDIR/index.html" -a -f "$TOOLSDIR/web/publish" ] &&
$TOOLSDIR/web/publish index.html
+
+cd $BUILD_DIR/$BASEVERSION
--
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel