mirror of
https://github.com/songoda/EpicFarming.git
synced 2024-11-28 05:25:13 +01:00
Update .gitlab-ci.yml, EpicFarming-Plugin/src/main/resources/plugin.yml files
This commit is contained in:
parent
545297bc4c
commit
b7dc8dcd93
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user