Commit d5e73183 authored by Kenton Varda's avatar Kenton Varda

Import fixed release script from mainline commit 5df78948.

parent 0245d49a
...@@ -48,10 +48,7 @@ update_version() { ...@@ -48,10 +48,7 @@ update_version() {
local NEW_COMBINED=$(( ${NEW_ARR[0]} * 1000000 + ${NEW_ARR[1]} * 1000 + ${NEW_ARR[2]:-0 })) local NEW_COMBINED=$(( ${NEW_ARR[0]} * 1000000 + ${NEW_ARR[1]} * 1000 + ${NEW_ARR[2]:-0 }))
doit sed -i -re "s/^#if CAPNP_VERSION != [0-9]*\$/#if CAPNP_VERSION != $NEW_COMBINED/g" \ doit sed -i -re "s/^#if CAPNP_VERSION != [0-9]*\$/#if CAPNP_VERSION != $NEW_COMBINED/g" \
c++/src/capnp/c++.capnp.h \ c++/src/*/*.capnp.h c++/src/*/*/*.capnp.h
c++/src/capnp/schema.capnp.h \
c++/src/capnp/compiler/lexer.capnp.h \
c++/src/capnp/compiler/grammar.capnp.h
doit git commit -a -m "Set $BRANCH_DESC version to $NEW." doit git commit -a -m "Set $BRANCH_DESC version to $NEW."
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment