Update .gitlab-ci.yml

This commit is contained in:
Brianna O'Keefe 2019-02-08 17:52:50 +00:00
parent b9abac5b6a
commit 14c36f106e

View File

@ -3,7 +3,7 @@ stages:
variables:
name: "FabledSkyBlock"
path: "/builds/Songoda/SkyBlock"
path: "/builds/Songoda/SkyBlock/target/"
version: "Build-66"
build:
@ -11,10 +11,9 @@ 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
- mvn clean package
- find $path/ -type f -name "*.yml" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g
- mvn clean package
artifacts:
name: $name-$version
paths:
- "/builds/Songoda/SkyBlock/target/*.jar"
- "$path/*.jar"