mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-23 02:35:25 +01:00
Update .gitlab-ci.yml, pom.xml, src/main/resources/plugin.yml files
This commit is contained in:
parent
63291ab3af
commit
03b67c5d07
@ -1,12 +1,22 @@
|
||||
stages:
|
||||
- build
|
||||
|
||||
variables:
|
||||
name: "FabledSkyBlock"
|
||||
path: "/builds/Songoda/SkyBlock"
|
||||
version: "Build-63"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
image: maven:3.3.9-jdk-8
|
||||
script: "mvn clean package"
|
||||
image: maven:3.5.3-jdk-8
|
||||
script:
|
||||
- find $path/ -type f -name "*.xml" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g
|
||||
- mvn clean package
|
||||
- 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
|
||||
artifacts:
|
||||
name: "Skyblock"
|
||||
name: $name-$version
|
||||
paths:
|
||||
- "/builds/Songoda/SkyBlock/target/*.jar"
|
||||
# - "/builds/Songoda/EpicAnchors/Read_this_before_your_first_use.txt"
|
||||
- "$path/*.jar"
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
||||
<groupId>com.songoda</groupId>
|
||||
<artifactId>FabledSkyBlock</artifactId>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<version>62</version>
|
||||
<version>maven-version-number</version>
|
||||
<build>
|
||||
<defaultGoal>clean package</defaultGoal>
|
||||
<plugins>
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: FabledSkyBlock
|
||||
main: me.goodandevil.skyblock.SkyBlock
|
||||
version: 63
|
||||
version: maven-version-number
|
||||
api-version: 1.13
|
||||
description: A unique SkyBlock plugin
|
||||
author: Songoda
|
||||
|
Loading…
Reference in New Issue
Block a user