replace bash by sh in ci
This commit is contained in:
parent
3ca4a393bc
commit
0437c92de4
2 changed files with 5 additions and 4 deletions
|
@ -5,6 +5,7 @@ stages:
|
||||||
- test
|
- test
|
||||||
- package
|
- package
|
||||||
- publish
|
- publish
|
||||||
|
- release
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- echo "---------- Start CI ----------"
|
- echo "---------- Start CI ----------"
|
||||||
|
@ -124,14 +125,14 @@ publish-released-lib:
|
||||||
- if: $CI_COMMIT_TAG =~ /^release-[0-9]+[.][0-9]+([.][0-9]+)?$/
|
- if: $CI_COMMIT_TAG =~ /^release-[0-9]+[.][0-9]+([.][0-9]+)?$/
|
||||||
script:
|
script:
|
||||||
- ./gradlew -x assemble -x test jar
|
- ./gradlew -x assemble -x test jar
|
||||||
- ./gradlew -x assemble -x test publish
|
- ./gradlew -x assemble -x test publishLibraryPublicationToMeissaRepository
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build/libs/*.jar
|
- build/libs/*.jar
|
||||||
|
|
||||||
release:
|
release:
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
stage: publish
|
stage: release
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE != "push"
|
- if: $CI_PIPELINE_SOURCE != "push"
|
||||||
when: never
|
when: never
|
||||||
|
@ -145,7 +146,7 @@ release:
|
||||||
- 'build/libs/sha512sum.lst'
|
- 'build/libs/sha512sum.lst'
|
||||||
script:
|
script:
|
||||||
# release to repo.meissa
|
# release to repo.meissa
|
||||||
- chmod +x ./release/create-release-in-repo.sh && /bin/bash ./release/create-release-in-repo.sh
|
- chmod +x ./release/create-release-in-repo.sh && sh ./release/create-release-in-repo.sh
|
||||||
# release to gitlab
|
# release to gitlab
|
||||||
- apk --no-cache add curl
|
- apk --no-cache add curl
|
||||||
- |
|
- |
|
||||||
|
|
|
@ -18,7 +18,7 @@ apply plugin: "maven-publish"
|
||||||
|
|
||||||
|
|
||||||
group = "org.domaindrivenarchitecture.provs"
|
group = "org.domaindrivenarchitecture.provs"
|
||||||
version = "release-0.22.6"
|
version = "release-0.22.7"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
Loading…
Reference in a new issue