Skip to content
Snippets Groups Projects
Commit d2d688b6 authored by Peter Nerlich's avatar Peter Nerlich
Browse files

when testing patch with future, also try the newest commit from master (if it...

when testing patch with future, also try the newest commit from master (if it is not already a release)
parent 848c09a3
Branches
No related tags found
No related merge requests found
...@@ -50,6 +50,11 @@ update: ...@@ -50,6 +50,11 @@ update:
git commit -m "Test patch with $t" git commit -m "Test patch with $t"
git push -f "$TARGET_REPO" "$TARGET_BRANCH" && sleep 2 git push -f "$TARGET_REPO" "$TARGET_BRANCH" && sleep 2
done done
- >
(cd advtrains && git name-rev --tags master | grep "undefined" -q) &&
git update-index --cacheinfo 160000,$(cd advtrains && git rev-list -n 1 origin/master),advtrains &&
git commit -m "Test patch with newest commit from master" &&
git push -f "$TARGET_REPO" "$TARGET_BRANCH"
build-future: build-future:
stage: test stage: test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment