shithub: mycel

Download patch

ref: 57f0f1562372f888146e0aa4307ec9b1961db058
parent: 0639326eebcfbf54440d100feceb90ee9400b49a
author: Philip Silva <philip.silva@protonmail.com>
date: Sun Jan 3 14:46:45 EST 2021

package.rc

--- a/package.rc
+++ b/package.rc
@@ -14,10 +14,10 @@
 cp README.md ./$name/
 cp normalize.css ./$name/
 dircp domino-lib ./$name/domino-lib
-tar czf $name.tgz $name
-chmod +t $name.tgz
-echo Created $name.tgz
-tarball=`{pwd} ^ '/' ^ $name ^ '.tgz'
+tarball=`{pwd} ^ '/' ^ $name ^ '-v0.0.1-' ^ `{date -i} ^ '-' ^ `{cat /mnt/git/branch/heads/master/hash | read -c 6} ^ '.tgz'
+tar czf $tarball $name
+chmod +t $tarball
+echo Created $tarball
 
 echo Verifying $tarball ...
 mkdir -p /tmp/`{date -n}