Update .gitlab-ci.yml

This commit is contained in:
Brianna O'Keefe 2018-11-23 18:21:35 +00:00
parent 739521efdd
commit 3fbdf463cb

View File

@ -4,13 +4,14 @@ stages:
variables:
name: "EpicHoppers"
path: "/builds/Songoda/$name"
version: "3.1.35"
version: "3.1.36"
build:
stage: build
image: maven:3.5.3-jdk-8
script:
- find $path/ -type f -name "*.xml" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g
- find $path/ -type f -name "*.yml" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g
- mvn clean package
- find $path/$name-Plugin/ -depth -path '*original*' -delete
- mv -v $path/$name-Plugin/target/*.jar $path