Files
ichni_Official/Packages/dev.yarnspinner.unity/.github/update-package-version.sh
SoulliesOfficial 021e76efe7 同步
2026-06-09 11:21:59 -04:00

14 lines
292 B
Bash

#/bin/bash
if [ ! -d ".git" ]; then
echo "This script must be run in the root of the repository."
exit 1
fi
VERSION=$(.github/get-version.sh $@)
jq ".version=\"$VERSION\"" package.json > package.json.tmp
mv package.json.tmp package.json
echo "Updated package version to $VERSION"