mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-02-18 13:24:13 -05:00

Comments added to Cargo.toml caused faulty parsing of the version number by package/cargo_version.sh. Adding the -w switch to grep fixes this by matching on the whole word 'version' and not matching on words such as 'Bumpversion'.
5 lines
79 B
Bash
Executable File
5 lines
79 B
Bash
Executable File
#!/bin/bash
|
|
|
|
INPUTFILE=$1
|
|
cat $1 | grep -w version | head -n 1 | cut -d\" -f 2
|