1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-01 13:21:13 +02:00

Merge pull request #395 from google/update_script

Fix scripts/make_release.sh
This commit is contained in:
Guillaume Chatelet
2025-05-06 13:49:40 +02:00
committed by GitHub

View File

@ -66,9 +66,12 @@ echo -e "${ACTION}Modifying MODULE.bazel${NOCOLOR}"
sed -i "s/CPU_FEATURES_VERSION = \"${LATEST_VERSION}\"/CPU_FEATURES_VERSION = \"${VERSION}\"/g" MODULE.bazel
echo -e "${ACTION}Commit new revision${NOCOLOR}"
git add CMakeLists.txt
git add CMakeLists.txt MODULE.bazel
git commit -m"Release ${GIT_TAG}"
echo -e "${ACTION}Check for unstaged or uncommited changes${NOCOLOR}"
git diff --quiet && git diff --quiet --cached
echo -e "${ACTION}Create new tag${NOCOLOR}"
git tag ${GIT_TAG}