Skip to content

Commit

Permalink
Change version of menhir to $(date)
Browse files Browse the repository at this point in the history
small sed command in ci-menhir.sh to change the version from
"unreleased" to today's date.
  • Loading branch information
Villetaneuse committed Nov 11, 2023
1 parent dece8f2 commit 56415ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev/ci/ci-menhir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ git_download menhirlib
if [ "$DOWNLOAD_ONLY" ]; then exit 0; fi

( cd "${CI_BUILD_DIR}/menhirlib"
sed -i.bak "s/unreleased/$(date +%Y%m%d)/" dune-project
dune build @install -p menhirLib,menhirSdk,menhir
dune install -p menhirLib,menhirSdk,menhir menhir menhirSdk menhirLib --prefix="$CI_INSTALL_DIR"

Expand Down

0 comments on commit 56415ce

Please sign in to comment.