1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-26 12:49:21 +00:00

Hopefully building a working ZIP again! Closes #358

This commit is contained in:
jespergravgaard 2020-08-24 22:33:51 +02:00
parent 97377534c0
commit 9bad1ff0b4

View File

@ -3,14 +3,14 @@ image: maven:3-jdk-14
release: release:
stage: build stage: build
script: script:
- "mvn -e package -DskipTests" - "mvn -e package"
- "mkdir target/release" - "mkdir target/release"
- "ls target" - "ls target"
- "tar -C target/release -xzvf target/kickc-release.tgz" - "tar -C target/release -xzvf target/kickc-release.tgz"
- "mv target/release/kickc/jar/kickc-release.jar target/release/kickc/jar/kickc-${CI_COMMIT_REF_NAME}.jar" - "mv target/release/kickc/jar/kickc-release.jar target/release/kickc/jar/kickc-${CI_COMMIT_REF_NAME}.jar"
- "mkdir ./kickc" - "mkdir ./kickc"
- "mv target/release/kickc/* ./kickc/" - "mv target/release/kickc/* ./kickc/"
# - "cat target/site/jacoco/index.html" - "cat target/site/jacoco/index.html"
artifacts: artifacts:
name: kickc_${CI_COMMIT_REF_NAME} name: kickc_${CI_COMMIT_REF_NAME}
paths: paths: