Procházet zdrojové kódy

commit reverting of version numbers

new-build-system
Jan Lehnardt před 14 roky
rodič
revize
4771ec353a
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      Makefile

+ 2
- 1
Makefile Zobrazit soubor

@@ -14,12 +14,13 @@ endif
tag: tag:
# splice in version # splice in version
sed -i.bak -e "s|%version%|${version}|" mustache.js package.json sed -i.bak -e "s|%version%|${version}|" mustache.js package.json
git commit -m 'Released ${version}' mustache.js
git commit -m 'Released ${version}' mustache.js package.json
# tag the version # tag the version
git tag ${version} git tag ${version}
# revert the version # revert the version
sed -i.bak -e 's|exports.version = "${version}"|exports.version = "%version%"|' mustache.js sed -i.bak -e 's|exports.version = "${version}"|exports.version = "%version%"|' mustache.js
sed -i.bak -e 's|"version": "${version}"|"version": "%version%"|' package.json sed -i.bak -e 's|"version": "${version}"|"version": "%version%"|' package.json
git commit -m 'Back to non-released version' mustache.js package.json


build-wrappers: build-wrappers:
# from that tag: # from that tag:


Načítá se…
Zrušit
Uložit