qubed/.github/workflows/update_version.sh
2025-02-19 17:00:57 +00:00

2 lines
124 B
Bash
Executable File

VERSION=$(git describe --tags --always | sed 's/^v//')
sed -i -E 's/^version = "[^"]+"/version = "'"$VERSION"'"/' Cargo.toml