1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-19 11:31:57 +00:00

Working on handling the missing unzip on the new Docker image.

This commit is contained in:
jespergravgaard 2020-08-24 21:51:28 +02:00
parent 7cfca75864
commit def77c3f2b
2 changed files with 8 additions and 8 deletions

View File

@ -3,14 +3,13 @@ image: maven:3-jdk-14
release:
stage: build
script:
- "ls /usr/bin/"
# - "mvn -e package"
# - "ls target"
# - "unzip -d target/release target/kickc-release.zip"
# - "mv target/release/kickc/jar/kickc-release.jar target/release/kickc/jar/kickc-${CI_COMMIT_REF_NAME}.jar"
# - "mkdir ./kickc"
# - "mv target/release/kickc/* ./kickc/"
# - "cat target/site/jacoco/index.html"
- "mvn -e package -DskipTests"
- "ls target"
- "gunzip -d target/release target/kickc-release.gz"
- "mv target/release/kickc/jar/kickc-release.jar target/release/kickc/jar/kickc-${CI_COMMIT_REF_NAME}.jar"
- "mkdir ./kickc"
- "mv target/release/kickc/* ./kickc/"
- "cat target/site/jacoco/index.html"
artifacts:
name: kickc_${CI_COMMIT_REF_NAME}
paths:

View File

@ -2,6 +2,7 @@
<id>release</id>
<formats>
<format>zip</format>
<format>gz</format>
</formats>
<dependencySets>
<dependencySet>