mirror of
https://github.com/songoda/EpicFurnaces.git
synced 2024-12-01 06:13:23 +01:00
Update .gitlab-ci.yml
This commit is contained in:
parent
4573594432
commit
5526b0e176
@ -1,10 +1,10 @@
|
|||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
name: "EpicFurnaces"
|
name: "EpicFurnaces"
|
||||||
path: "/builds/$CI_PROJECT_PATH"
|
path: "/builds/$CI_PROJECT_PATH"
|
||||||
version: "4.1.2"
|
version: "4.1.2"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
@ -14,8 +14,8 @@ build:
|
|||||||
- find $path/ -type f -name "*.yml" -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/ -depth -path '*original*' -delete
|
- find $path/ -depth -path '*original*' -delete
|
||||||
- mv -v $path/target/*.jar $path
|
- mv $path/core/target/*.jar $path/
|
||||||
artifacts:
|
artifacts:
|
||||||
name: $name-$version
|
name: $name-$version
|
||||||
paths:
|
paths:
|
||||||
- "$path/*.jar"
|
- "$path/*.jar"
|
||||||
|
Loading…
Reference in New Issue
Block a user