Update .gitlab-ci.yml, EpicFarming-Plugin/src/main/resources/plugin.yml files

This commit is contained in:
Brianna O'Keefe 2018-12-08 04:20:27 +00:00
parent 545297bc4c
commit b7dc8dcd93
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -1,7 +1,7 @@
name: EpicFarming name: EpicFarming
description: EpicFarming description: EpicFarming
main: com.songoda.epicfarming.EpicFarmingPlugin main: com.songoda.epicfarming.EpicFarmingPlugin
version: 2.0.17 version: maven-version-number
depend: [Arconix] depend: [Arconix]
soft-depend: [Multiverse-Core] soft-depend: [Multiverse-Core]
author: Songoda author: Songoda