• R/O
  • HTTP
  • SSH
  • HTTPS

pukiwiki_devel: Commit


Commit MetaInfo

Revisión2cadc25a3426dd2c4474e2ffaaeb48fcff24ac19 (tree)
Tiempo2019-01-26 01:11:02
Autorumorigu <umorigu@gmai...>
Commiterumorigu

Log Message

Support Dynamic SUFFIX (ex: rc2)

usage: REVISION=xxxxxxx SUFFIX=rc2 ./pack.sh

Cambiar Resumen

Diferencia incremental

--- a/pack.sh
+++ b/pack.sh
@@ -2,6 +2,7 @@
22
33 set -exu
44
5+# usage: REVISION=xxxxxxx SUFFIX=rc2 ./pack.sh
56
67 echo REVISION: $REVISION
78
@@ -10,8 +11,7 @@ echo $REV4
1011
1112 DIR=D$(date "+%Y%m%d-%H%M")
1213
13-SUFFIX='-rc5-'
14-OUTPUT_DIR='_build_package_152_rc5'
14+OUTPUT_DIR="_build_package_152_${SUFFIX}"
1515
1616 ./release.sh --git --zip --name pukiwiki-1.5.2_utf8 \
1717 --utf8 --repo git://git.osdn.jp/gitroot/pukiwiki/pukiwiki.git \
@@ -21,8 +21,8 @@ OUTPUT_DIR='_build_package_152_rc5'
2121 --eucjp --repo git://git.osdn.jp/gitroot/pukiwiki/pukiwiki.git \
2222 $REVISION
2323
24-cp -p pukiwiki-1.5.2_utf8.zip pukiwiki-1.5.2${SUFFIX}${REV4}_utf8.zip
25-cp -p pukiwiki-1.5.2_eucjp.zip pukiwiki-1.5.2${SUFFIX}${REV4}_eucjp.zip
24+cp -p pukiwiki-1.5.2_utf8.zip pukiwiki-1.5.2-${SUFFIX}-${REV4}_utf8.zip
25+cp -p pukiwiki-1.5.2_eucjp.zip pukiwiki-1.5.2-${SUFFIX}-${REV4}_eucjp.zip
2626
2727 mkdir $OUTPUT_DIR
2828 mv *.zip $OUTPUT_DIR/
Show on old repository browser