[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/windows-branch-build 38a1d3b: * admin/nt/dist-buil
From: |
Phillip Lord |
Subject: |
[Emacs-diffs] scratch/windows-branch-build 38a1d3b: * admin/nt/dist-build/build-zips.sh: Support building of branches |
Date: |
Sun, 8 Apr 2018 08:45:32 -0400 (EDT) |
branch: scratch/windows-branch-build
commit 38a1d3b6d1887b1a963065129be36b49339034ea
Author: Phillip Lord <address@hidden>
Commit: Phillip Lord <address@hidden>
* admin/nt/dist-build/build-zips.sh: Support building of branches
---
admin/nt/dist-build/build-zips.sh | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/admin/nt/dist-build/build-zips.sh
b/admin/nt/dist-build/build-zips.sh
index ec41ec8..fe5289a 100755
--- a/admin/nt/dist-build/build-zips.sh
+++ b/admin/nt/dist-build/build-zips.sh
@@ -132,6 +132,9 @@ while getopts "36ghnsiV:" opt; do
i)
BUILD=0
;;
+ b)
+ REQUIRED_BRANCH=$OPTARG
+ ;;
V)
VERSION=$OPTARG
;;
@@ -185,6 +188,11 @@ else
OF_VERSION="$VERSION-`date +%Y-%m-%d`"
fi
+if [ -z $REQUIRED_BRANCH ];
+ BRANCH=$REQUIRED_BRANCH
+ OF_VERSION="$VERSION-$BRANCH-`date +%Y-%m-%d`"
+fi
+
if (($GIT_UP))
then
git_up