Update .gitlab-ci.yml, pom.xml, src/main/resources/plugin.yml files

This commit is contained in:
Brianna O'Keefe 2019-01-25 19:56:44 +00:00
parent 63291ab3af
commit 03b67c5d07
3 changed files with 17 additions and 7 deletions

View File

@ -1,12 +1,22 @@
stages:
- build
variables:
name: "FabledSkyBlock"
path: "/builds/Songoda/SkyBlock"
version: "Build-63"
build:
stage: build
image: maven:3.3.9-jdk-8
script: "mvn clean package"
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
- find $path/$name-Plugin/ -depth -path '*original*' -delete
- mv -v $path/$name-Plugin/target/*.jar $path
artifacts:
name: "Skyblock"
name: $name-$version
paths:
- "/builds/Songoda/SkyBlock/target/*.jar"
# - "/builds/Songoda/EpicAnchors/Read_this_before_your_first_use.txt"
- "$path/*.jar"

View File

@ -2,7 +2,7 @@
<groupId>com.songoda</groupId>
<artifactId>FabledSkyBlock</artifactId>
<modelVersion>4.0.0</modelVersion>
<version>62</version>
<version>maven-version-number</version>
<build>
<defaultGoal>clean package</defaultGoal>
<plugins>

View File

@ -1,6 +1,6 @@
name: FabledSkyBlock
main: me.goodandevil.skyblock.SkyBlock
version: 63
version: maven-version-number
api-version: 1.13
description: A unique SkyBlock plugin
author: Songoda