Version replacing

This commit is contained in:
Esophose 2019-04-15 03:31:14 -06:00
parent 23d979def9
commit e834f58cf8
2 changed files with 1 additions and 4 deletions

View File

@ -2,7 +2,6 @@ image: gradle:alpine
variables:
path: "/builds/$CI_PROJECT_PATH"
version: "Build-73"
before_script:
- export GRADLE_USER_HOME=$path/.gradle
@ -13,8 +12,6 @@ stages:
build:
stage: build
script:
- find $path/ -type f -name "*.yml" -print0 | xargs -0 sed -i -e s/gradle-version-number/$version/g
- find $path/ -type f -name "build.gradle" -print0 | xargs -0 sed -i -e s/gradle-version-number/$version/g
- gradle clean build
- mv $path/build/libs/*.jar $path/
artifacts:

View File

@ -1,6 +1,6 @@
name: FabledSkyBlock
main: me.goodandevil.skyblock.SkyBlock
version: gradle-version-number
version: @version@
api-version: 1.13
description: A unique SkyBlock plugin
author: Songoda