mirror of
https://github.com/songoda/EpicFarming.git
synced 2024-11-05 18:39:49 +01:00
Update .gitlab-ci.yml
This commit is contained in:
parent
daba57c28c
commit
bb257a9b44
@ -1,10 +1,10 @@
|
||||
stages:
|
||||
- build
|
||||
- build
|
||||
|
||||
variables:
|
||||
name: "EpicFarming"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "2.1.6"
|
||||
name: "EpicFarming"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "2.1.6"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
@ -13,9 +13,9 @@ build:
|
||||
- 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
|
||||
- find $path/ -depth -path '*original*' -delete
|
||||
- mv $path/$name-Plugin/target/*.jar $path/
|
||||
artifacts:
|
||||
name: $name-$version
|
||||
paths:
|
||||
- "$path/*.jar"
|
||||
- "$path/*.jar"
|
||||
|
Loading…
Reference in New Issue
Block a user