We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FORMAT_VERSION
1 parent d7f859a commit da48b64Copy full SHA for da48b64
clgen.sh
@@ -10,9 +10,6 @@ col2() {
10
col6() {
11
awk '{print $6}'
12
}
13
-grepor() {
14
- grep $1 || true
15
-}
16
17
# Check we have two arguments, and assign them to variables
18
@@ -34,7 +31,7 @@ fi
34
31
mv tmp Cargo.toml
35
32
36
33
date=$(date -u +'%Y-%m-%d')
37
-format_version=$(cat src/lib.rs | grepor FORMAT_VERSION | col6 | sd ";" "")
+format_version=$(cat src/lib.rs | grep 'FORMAT_VERSION: u32 =' | col6 | sd ";" "")
38
rustc_commit=$(cat COMMIT.txt)
39
40
# We do a shuffling dance to append the new version to the top of the changelog
0 commit comments