mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-02-16 03:41:28 +01:00
Update .gitlab-ci.yml
This commit is contained in:
parent
d8745978ad
commit
73914dca08
@ -1,10 +1,10 @@
|
||||
stages:
|
||||
- build
|
||||
- build
|
||||
|
||||
variables:
|
||||
name: "EpicHoppers"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "3.5.13"
|
||||
name: "EpicHoppers"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "3.5.13"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
@ -13,9 +13,10 @@ 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