mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-24 08:21:26 +01:00
Version replacing
This commit is contained in:
parent
23d979def9
commit
e834f58cf8
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user