Files
Cielonos/Packages/dev.yarnspinner.unity/.github/update-package-version.sh
SoulliesOfficial 8186f54e90 新场景,剧情
2026-06-02 12:55:39 -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"