diff --git a/release.sh b/release.sh index 466eb63..cbddcad 100755 --- a/release.sh +++ b/release.sh @@ -7,7 +7,7 @@ FILES=" updateOID.sh check.sh examples " -mtn automate tags it.lapo.asn1js | \ +mtn automate tags 'it.lapo.asn1js{,.*}' | \ awk '/^revision/ { print substr($2, 2, length($2) - 2)}' | \ while read rev; do mtn automate certs $rev | awk -v q='"' ' @@ -19,15 +19,10 @@ mtn automate tags it.lapo.asn1js | \ ' done | sort -r | awk -v q='"' ' BEGIN { - print "(typeof define != " q "undefined" q " ? define : function (factory) { " q "use strict" q ";"; - print " if (typeof module == " q "object" q ") module.exports = factory();"; - print " else window.tags = factory();"; - print "})(function () {"; - print q "use strict" q ";"; - print "return {" + print "export const tags = {" } { print " " q $2 q ": " q $1 q "," } - END { print "};});" } + END { print "};" } ' > tags.js type gsha256sum >/dev/null && SHA256=gsha256sum || SHA256=sha256sum $SHA256 -t $FILES | gpg --clearsign > sha256sums.asc diff --git a/tags.js b/tags.js index 7e37afd..fb3c4f4 100644 --- a/tags.js +++ b/tags.js @@ -1,4 +1,6 @@ export const tags = { + "2.0.0": "2024-03-26", + "1.3.0": "2024-03-26", "1.2.4": "2022-11-14", "1.2.3": "2021-10-21", "1.2.2": "2021-10-21",