mirror of
https://github.com/lubuntu-team/ci-tooling.git
synced 2025-04-07 00:01:23 +00:00
Create CI branches if they don't already exist.
This commit is contained in:
parent
61466cbda4
commit
7d3aa8f9ae
@ -53,9 +53,9 @@
|
||||
<command>
|
||||
cd {{ NAME }}
|
||||
git checkout {{ DEFAULT_BRANCH }}
|
||||
git checkout {{ PACKAGING_BRANCH }}
|
||||
git checkout -b {{ PACKAGING_BRANCH }} || git checkout {{ PACKAGING_BRANCH }}
|
||||
git merge --ff-only {{ DEFAULT_BRANCH }}
|
||||
git push origin {{ PACKAGING_BRANCH }}
|
||||
git push --set-upstream origin {{ PACKAGING_BRANCH }}
|
||||
</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
|
Loading…
x
Reference in New Issue
Block a user