7 lines
181 B
Bash
Executable File
7 lines
181 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
# Patch Cargo.toml version from VERSION file before build
|
|
VERSION=$(cat VERSION)
|
|
sed -i 's/^version = ".*"/version = "'"$VERSION"'"/' Cargo.toml
|
|
exec cargo build
|