[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] pointrelease: reorder some commands



This should make it a bit easier to comment out the part that already
run in case the script abort during the point release.
---
 config/debian/pointrelease | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/config/debian/pointrelease b/config/debian/pointrelease
index 9c7353e..047148c 100755
--- a/config/debian/pointrelease
+++ b/config/debian/pointrelease
@@ -117,11 +117,16 @@ NOW=$(date "+%Y.%m.%d-%H:%M:%S")
 log "Point release for ${suite} (${suitename}); old version: ${oldrev}, new: ${newrev}"
 log "Updates come from ${pusuite}"
 
-log "Preparing"
-pg_timestamp pre_${suite}_${newrev}
 cd ~
 mkdir -p ${suitename}_${newrev}
 cd ${suitename}_${newrev}
+
+echo "Is there anything to skip in this release? If so, please enter source package names, whitespace seperated, if not just hit enter"
+read -e -p "Source packages: " skiplist
+confirm
+
+log "Preparing"
+pg_timestamp pre_${suite}_${newrev}
 dak control-suite -l ${pusuite} > ${pusuite}.list &
 dak control-suite -l ${suite} > ${suite}.list &
 if [[ ${suitename} != jessie ]]; then
@@ -130,9 +135,6 @@ if [[ ${suitename} != jessie ]]; then
 fi
 wait
 
-echo "Is there anything to skip in this release? If so, please enter source package names, whitespace seperated, if not just hit enter"
-read -e -p "Source packages: " skiplist
-confirm
 if [[ -n ${skiplist} ]]; then
   for s in ${pusuite} ${pusuite}-debug; do
     if [[ ${s} = ${pusuite}-debug && ${suitename} = jessie ]]; then
-- 
2.1.4


Reply to: