|
|
|
@ -6,7 +6,7 @@ stages:
|
|
|
|
|
- release
|
|
|
|
|
|
|
|
|
|
.kotlin-job: &kotlin
|
|
|
|
|
image: domaindrivenarchitecture/ddadevops-kotlin
|
|
|
|
|
image: domaindrivenarchitecture/ddadevops-kotlin:4.10.7
|
|
|
|
|
cache:
|
|
|
|
|
key: ${CI_COMMIT_REF_SLUG}
|
|
|
|
|
paths:
|
|
|
|
@ -98,28 +98,6 @@ publish-maven-package-to-meissa:
|
|
|
|
|
- ./gradlew -x assemble -x test publishLibraryPublicationToMeissaRepository
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
release-to-gitlab:
|
|
|
|
|
<<: *tag_only
|
|
|
|
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
|
|
|
|
stage: release
|
|
|
|
|
artifacts:
|
|
|
|
|
paths:
|
|
|
|
|
- 'build/libs/provs-desktop.jar'
|
|
|
|
|
- 'build/libs/provs-server.jar'
|
|
|
|
|
- 'build/libs/provs-syspec.jar'
|
|
|
|
|
- 'build/libs/sha256sum.lst'
|
|
|
|
|
- 'build/libs/sha512sum.lst'
|
|
|
|
|
script:
|
|
|
|
|
- apk --no-cache add curl
|
|
|
|
|
- |
|
|
|
|
|
release-cli create --name "Release $CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG \
|
|
|
|
|
--assets-link "{\"name\":\"provs-desktop.jar\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/provs/-/jobs/${CI_JOB_ID}/artifacts/file/build/libs/provs-desktop.jar\"}" \
|
|
|
|
|
--assets-link "{\"name\":\"provs-server.jar\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/provs/-/jobs/${CI_JOB_ID}/artifacts/file/build/libs/provs-server.jar\"}" \
|
|
|
|
|
--assets-link "{\"name\":\"provs-syspec.jar\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/provs/-/jobs/${CI_JOB_ID}/artifacts/file/build/libs/provs-syspec.jar\"}" \
|
|
|
|
|
--assets-link "{\"name\":\"sha256sum.lst\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/provs/-/jobs/${CI_JOB_ID}/artifacts/file/build/libs/sha256sum.lst\"}" \
|
|
|
|
|
--assets-link "{\"name\":\"sha512sum.lst\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/provs/-/jobs/${CI_JOB_ID}/artifacts/file/build/libs/sha512sum.lst\"}" \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
release-to-meissa:
|
|
|
|
|
<<: *kotlin
|
|
|
|
|
<<: *tag_only
|
|
|
|
|