Changeset bf70aa9 for doc/proposals/concurrency/build/bump_ver.sh
- Timestamp:
- Jun 14, 2017, 3:16:42 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 838ef08
- Parents:
- 7c17511
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/proposals/concurrency/build/bump_ver.sh
r7c17511 rbf70aa9 1 1 #!/bin/bash 2 if [ ! -f build/version ]; then3 echo "0.0.0" > build/version2 if [ ! -f version ]; then 3 echo "0.0.0" > version 4 4 fi 5 5 6 sed -r 's/([0-9]+\.[0-9]+.)([0-9]+)/echo "\1\$((\2+1))" > version/ge' build/version > /dev/null6 sed -r 's/([0-9]+\.[0-9]+.)([0-9]+)/echo "\1\$((\2+1))" > version/ge' version > /dev/null
Note: See TracChangeset
for help on using the changeset viewer.