source: doc/proposals/concurrency/build/bump_ver.sh @ 7d4f6ed

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 7d4f6ed was bf70aa9, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

removing duplicate version files

  • Property mode set to 100755
File size: 159 bytes
Line 
1#!/bin/bash
2if [ ! -f version ]; then
3    echo "0.0.0" > version
4fi
5
6sed -r 's/([0-9]+\.[0-9]+.)([0-9]+)/echo "\1\$((\2+1))" > version/ge' version > /dev/null
Note: See TracBrowser for help on using the repository browser.