This website requires JavaScript.
Explore
Help
Sign In
IntenseWebs
/
veilid
Watch
3
Star
0
Fork
0
You've already forked veilid
mirror of
https://gitlab.com/veilid/veilid.git
synced
2024-12-23 06:33:28 -06:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
30413e7f70
veilid
/
package
/
cargo_version.sh
5 lines
79 B
Bash
Raw
Normal View
History
Unescape
Escape
refactoring, more config, packaging
2022-05-16 10:52:48 -05: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 10:50:58 -05:00
cat
$1
|
grep -w version
|
head -n
1
|
cut -d
\"
-f
2
Reference in New Issue
Copy Permalink