Skip to content

Commit

Permalink
[build] Specific VERSION.txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
maranget committed May 6, 2022
1 parent f544fd4 commit 813134b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions VERSION.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.56+02~dev
2 changes: 1 addition & 1 deletion defs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ cpdir () {
rm -rf $TO && mkdir -p $TO && ( cd $FROM && cp -r . $TO )
}

VERSION=$(grep "^version:" herdtools7.opam | cut -d ":" -f 2 | cut -d '"' -f 2)
VERSION=$(cat VERSION.txt)
REV=$(git rev-parse HEAD 2>/dev/null || echo exported)
2 changes: 1 addition & 1 deletion dune-defs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ cpdir () {
rm -rf $TO && mkdir -p $TO && ( cd $FROM && cp -r . $TO )
}

VERSION=$(grep "^version:" herdtools7.opam | cut -d ":" -f 2 | cut -d '"' -f 2)
VERSION=$(cat VERSION.txt)
REV=$(git rev-parse HEAD 2>/dev/null || echo exported)

0 comments on commit 813134b

Please sign in to comment.