Skip to content

Commit

Permalink
chore: update vcpkg.json when tagging a new version
Browse files Browse the repository at this point in the history
  • Loading branch information
ceejbot committed Feb 4, 2024
1 parent f7b8498 commit 8767644
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ tag VERSION:
sed -i -e 's/set(VERSION [0-9][0-9]*\.[0-9]*\.[0-9]*\(\.[0-9]*\)/set(VERSION {{VERSION}}\1/' CMakeLists.txt
# update the lock file
#cargo check
git commit CMakeLists.txt Cargo.toml Cargo.lock -m "v{{VERSION}}"
jq '."version-string" = "{{VERSION}}"' vcpkg.json > vcpkg.tmp
mv vcpkg.tmp vcpkg.json
git commit CMakeLists.txt Cargo.toml vcpkg.json -m "v{{VERSION}}"
git tag "v{{VERSION}}"
echo "Release tagged for version v{{VERSION}}"
Expand Down

0 comments on commit 8767644

Please sign in to comment.