Skip to content

Commit

Permalink
feat(justfile): added tool to bump the version
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah-potter committed Dec 28, 2024
1 parent 9a95810 commit e9eb5ac
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,20 @@ userdictoverlap:
while read -r line; do
just searchdictfor $line 2> /dev/null
done < $USER_DICT_FILE

bump-versions:
#! /bin/bash
set -eo pipefail

cargo ws version --no-git-push

HARPER_VERSION=$(tq --file harper-core/Cargo.toml .package.version)

cd "{{justfile_directory()}}/packages/harper.js"

cat package.json | jq ".version = \"$HARPER_VERSION\"" > package.json.edited
mv package.json.edited package.json

just format

lazygit

0 comments on commit e9eb5ac

Please sign in to comment.