-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't update master with new AliPhysics tags
- Loading branch information
1 parent
c32a300
commit b50add1
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,12 +35,15 @@ jobs: | |
- name: Tag AliRoot and AliPhysics in alidist | ||
run: | | ||
set -x | ||
git grep -zl v5-09 | xargs -rt0 sed -ri "s/v5-09-[0-9][0-9][a-z]*/$TAG/g" | ||
sed -ri "s/v5-09-[0-9][0-9][a-z]*/$TAG/g" ./*.sh | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "ALICE Action Bot" | ||
git commit -a -m "Bump to $TAG" || echo "No changes to commit" | ||
git show | ||
git tag "AliPhysics-$TAG-01" | ||
git push origin "AliPhysics-$TAG-01" "$BRANCH" | ||
git push origin "AliPhysics-$TAG-01" | ||
# We only want to update -patches branches with new tags, not master. | ||
[ "$BRANCH" = master ] || git push origin "$BRANCH" | ||
env: | ||
TAG: ${{ github.event.inputs.tag }} | ||
BRANCH: ${{ steps.decide_release_branch.outputs.branch }} | ||
|