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