Skip to content

Commit

Permalink
[install] in gitTag.sh, allow changes to MG5AMC/mg5amcnlo (submodules…
Browse files Browse the repository at this point in the history
… have been checked already)
  • Loading branch information
valassi committed Oct 2, 2024
1 parent 03ef308 commit 5070374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epochX/cudacpp/gitTag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if ! git submodule status | grep '^ ' > /dev/null; then
fi

# Check that all changes are committed to git (except at most for this script only in the '-l' mode)
if [ "$(git status --porcelain | grep -v ^??)" != "" ]; then
if [ "$(git status --porcelain | grep -v ^?? | grep -v ' M MG5aMC/mg5amcnlo')" != "" ]; then
if [ "$tagsuffix" != "" ] || [ "$(git status --porcelain | grep -v ^??)" != " M ${scr}" ]; then
echo "ERROR! There are local changes not committed to git yet"
exit 1
Expand Down

0 comments on commit 5070374

Please sign in to comment.