Source code
Revision control
Copy as Markdown
Other Tools
#!/bin/bash
set -ex
VERSION=${TRAVIS_TAG:-$(git describe --tags)}
sed -i '' "s/version = \".*\"/version = \"$VERSION\"/g" Cargo.toml
#!/bin/bash
set -ex
VERSION=${TRAVIS_TAG:-$(git describe --tags)}
sed -i '' "s/version = \".*\"/version = \"$VERSION\"/g" Cargo.toml