scripts: include v2 README in the release

This commit is contained in:
Gyu-Ho Lee 2016-06-01 19:10:58 -07:00
parent 9fee7732f6
commit 232c1914d2
2 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,7 @@ TMPHOSTS="$(mktemp)"
acbuildEnd() {
rm "$TMPHOSTS"
export EXIT=$?
acbuild --debug end && exit $EXIT
acbuild --debug end && exit $EXIT
}
trap acbuildEnd EXIT
@ -46,6 +46,7 @@ acbuild --debug set-name coreos.com/etcd
acbuild --debug copy --to-dir $BINARYDIR/etcd $BINARYDIR/etcdctl /
acbuild --debug copy README.md /README.md
acbuild --debug copy etcdctl/README.md /README-etcdctl.md
acbuild --debug copy etcdctl/READMEv2.md /READMEv2-etcdctl.md
acbuild --debug copy --to-dir Documentation /
acbuild --debug environment add ETCD_DATA_DIR /data-dir

View File

@ -47,6 +47,7 @@ function package {
cp etcd/README.md ${target}/README.md
cp etcd/etcdctl/README.md ${target}/README-etcdctl.md
cp etcd/etcdctl/READMEv2.md ${target}/READMEv2-etcdctl.md
cp -R etcd/Documentation ${target}/Documentation
}