This website requires JavaScript.
Explore
Help
Sign In
Git-Mirrors
/
veilid
Watch
1
Star
0
Fork
0
You've already forked veilid
mirror of
https://gitlab.com/veilid/veilid.git
synced
2024-12-13 01:34:27 -05:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
929cddad88
veilid
/
package
/
cargo_version.sh
5 lines
79 B
Bash
Raw
Normal View
History
Unescape
Escape
refactoring, more config, packaging
2022-05-16 11:52:48 -04:00
#!/bin/bash
INPUTFILE
=
$1
Fix packaging version parsing 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'.
2023-09-02 11:50:58 -04:00
cat
$1
|
grep -w version
|
head -n
1
|
cut -d
\"
-f
2
Reference in New Issue
Copy Permalink