3
0
KCauldronX/.gitlab-ci.yml
2015-06-28 23:03:53 +07:00

84 lines
1.8 KiB
YAML

# This file is generated by GitLab CI
Source test:
script:
- git submodule update --init --recursive
- ./gradlew clean setupCauldron jar
tags:
- test
except:
- tags
Deploy:
script:
- git submodule update --init --recursive
- ./gradlew -PofficialBuild clean setupCauldron publish
type: deploy
tags:
- deploy
except:
- tags
Merge master into backport-1388:
script:
- from=master
- to=backport-1388
- git remote set-url origin gitlab@prok.pw:Prototik/KCauldron.git
- git fetch origin $to
- git checkout $to
- git reset --hard origin/$to
- git merge origin/$from
- git push origin $to
type: deploy
tags:
- merge-backport
only:
- master
Merge backport-1388 into backport-1370:
script:
- from=backport-1388
- to=backport-1370
- git remote set-url origin gitlab@prok.pw:Prototik/KCauldron.git
- git fetch origin $to
- git checkout $to
- git reset --hard origin/$to
- git merge origin/$from
- git push origin $to
type: deploy
tags:
- merge-backport
only:
- backport-1388
Merge backport-1370 into backport-1291:
script:
- from=backport-1370
- to=backport-1291
- git remote set-url origin gitlab@prok.pw:Prototik/KCauldron.git
- git fetch origin $to
- git checkout $to
- git reset --hard origin/$to
- git merge origin/$from
- git push origin $to
type: deploy
tags:
- merge-backport
only:
- backport-1370
Merge backport-1291 into backport-1240:
script:
- from=backport-1291
- to=backport-1240
- git remote set-url origin gitlab@prok.pw:Prototik/KCauldron.git
- git fetch origin $to
- git checkout $to
- git reset --hard origin/$to
- git merge origin/$from
- git push origin $to
type: deploy
tags:
- merge-backport
only:
- backport-1291