Improving circle build

This commit is contained in:
Syrus Akbary 2018-12-03 18:57:26 -08:00
parent cc7291562e
commit dc52319859

View File

@ -51,9 +51,9 @@ jobs:
make release make release
mkdir -p artifacts mkdir -p artifacts
VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2) VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2)
GIT_VERSION=$(git describe --exact-match --tags) # GIT_VERSION=$(git describe --exact-match --tags)
echo "${VERSION}" >> artifacts/version echo "${VERSION}" >> artifacts/version
echo "${GIT_VERSION}" >> artifacts/git_version echo "${CIRCLE_TAG}" >> artifacts/git_version
cp ./target/release/wasmer ./artifacts/$(./binary-name.sh) cp ./target/release/wasmer ./artifacts/$(./binary-name.sh)
- persist_to_workspace: - persist_to_workspace:
root: . root: .