commit 469ffb74d1dddea864d5fb9d99a537d6b210cce1
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Fri Mar 20 14:42:13 2015 -0500
add some variables for QA to run-pungi add some comments on the purposes of them all
scripts/run-pungi | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/scripts/run-pungi b/scripts/run-pungi
index 01b9b47..c1bed98 100755
--- a/scripts/run-pungi
+++ b/scripts/run-pungi
@@ -14,11 +14,24 @@ KICKSTARTS=/srv/pungi/spin-kickstarts/
ATOMIC=/srv/pungi/fedora-atomic/
ATOMICDEST=/srv/pungi/atomic/
+# SHORTCOMPOSE: a short reference to the compmose it is 1 for RC1 and TC1 for TC1
+# BUILD: added for QA to refer to the compose by RC1 or TC1
+# MILESTONE: is for QA refers to Alpha/Beta/Final
+# SHORTVERSION: is a shortened version of the Version passed in drops off _TCX
+# COMPOSE: is passed in for RC's only in the format of _RCX
+
SHORTCOMPOSE=$(echo $COMPOSE|sed -e 's|_RC||g')
+BUILD=$(echo $COMPOSE|sed -e 's|_||g')
+MILESTONE=$(echo $VERSION|sed -e 's|_T.*||' -e 's|.*_||')
SHORTVERSION=$VERSION
[ -z "$COMPOSE" ] && {
SHORTVERSION=$(echo $VERSION|sed -e 's|_T.*||')
SHORTCOMPOSE=$(echo $VERSION|sed -e 's|.*_||g')
+ BUILD=$(echo $VERSION|sed -e 's|.*_||g')
+}
+
+[ -z "$MILESTONE" ] && {
+ MILESTONE=Final
}
FULLPATH=$(pwd)
Show replies by date