paramod-rust/.vscode/cargo-reset-version.sh

4 lines
82 B
Bash

#!/bin/bash
set -e
sed -i 's/^version = ".*"/version = "__VERSION__"/' Cargo.toml