Skip to content

Commit

Permalink
scripts: teach update-versions.sh to update lein example deps as well
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin committed Nov 12, 2019
1 parent f394d71 commit 9647ff8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ CACHE_DIR="$ROOT/.cache"
DCE_CACHE_DIR="$CACHE_DIR/dce"
DCE_COMPARE_DIR="$CACHE_DIR/dce-compare"
SKIP_DCE_COMPILATION=${SKIP_DCE_COMPILATION}
EXAMPLE_LEIN_PROJECT_FILE="examples/lein/project.clj"

popd
1 change: 1 addition & 0 deletions scripts/update-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ fi

sed -i "" -e "s/defproject binaryage\/devtools \".*\"/defproject binaryage\/devtools \"$VERSION\"/g" "$PROJECT_FILE"
sed -i "" -e "s/def current-version \".*\"/def current-version \"$VERSION\"/g" "$PROJECT_VERSION_FILE"
sed -i "" -e "s/\[binaryage\/devtools \".*\"/\[binaryage\/devtools \"$VERSION\"/g" "$EXAMPLE_LEIN_PROJECT_FILE"

# this is just a sanity check
./scripts/check-versions.sh

0 comments on commit 9647ff8

Please sign in to comment.