]> git.saurik.com Git - logizomai.git/blobdiff - make
Read the documentation for prepare more carefully.
[logizomai.git] / make
diff --git a/make b/make
index 5823aba68be4cbf82219fb214404d22a1c6a4b80..2a57c1fcc9913a35b09a1a4165b886787e32da68 100755 (executable)
--- a/make
+++ b/make
@@ -1,2 +1,5 @@
 #!/bin/bash
-npm run prepare
+set -e
+json5 -c package.json5
+rpl XXX $(git describe --tags --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@;s@%@~@g') package.json
+npm run prepublishOnly