Skip to content

Commit

Permalink
nit: don't use run-cli
Browse files Browse the repository at this point in the history
since run-cli runs in debug mode, while we have just built for release in build-release
  • Loading branch information
kartva committed Jan 8, 2024
1 parent afd27ff commit 194bff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RELEASE_PATH="release"
mkdir -p $RELEASE_PATH

# get the version number
VERSION=$(./run-cli.sh --version | awk '{print $NF}')
VERSION=$(cargo run --release --bin librarian -- --version | awk '{print $NF}')
DIRNAME="librarian_v$VERSION"

# c creates an archive
Expand Down

0 comments on commit 194bff2

Please sign in to comment.