test to see if version numbers work for artifacts

This commit is contained in:
Frostalf 2018-11-15 04:05:16 -08:00
parent f586b9a158
commit 6e413445d1
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@ stages:
variables:
name: "EpicSpawners"
path: "/builds/Songoda/$name"
nameversion: "5.5.16"
build:
stage: build
@ -13,7 +14,7 @@ build:
- find $path/$name-Plugin/ -depth -path '*original*' -delete
- mv -v $path/$name-Plugin/target/*.jar $path
artifacts:
name: $name
name: $name-$nameversion
paths:
- "$path/*.jar"
- "$path/Read_this_before_your_first_use.txt"

View File

@ -180,6 +180,7 @@
</executions>
<configuration>
<file>${project.build.directory}/classes/plugin.yml</file>
<file>${project.basedir}/../.gitlab-ci.yml</file>
<replacements>
<replacement>
<token>maven-version-number</token>