Skip to content
Snippets Groups Projects
Commit 1c48c9bf 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 0e46b277
No related branches found
No related tags found
No related merge requests found
Pipeline #47434 passed
...@@ -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