From 0437c92de4db71a664a03317e14e52353108a1a3 Mon Sep 17 00:00:00 2001 From: ansgarz Date: Sun, 18 Jun 2023 14:35:11 +0200 Subject: [PATCH] replace bash by sh in ci --- .gitlab-ci.yml | 7 ++++--- build.gradle | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6837a4e..840179c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,7 @@ stages: - test - package - publish + - release before_script: - echo "---------- Start CI ----------" @@ -124,14 +125,14 @@ publish-released-lib: - if: $CI_COMMIT_TAG =~ /^release-[0-9]+[.][0-9]+([.][0-9]+)?$/ script: - ./gradlew -x assemble -x test jar - - ./gradlew -x assemble -x test publish + - ./gradlew -x assemble -x test publishLibraryPublicationToMeissaRepository artifacts: paths: - build/libs/*.jar release: image: registry.gitlab.com/gitlab-org/release-cli:latest - stage: publish + stage: release rules: - if: $CI_PIPELINE_SOURCE != "push" when: never @@ -145,7 +146,7 @@ release: - 'build/libs/sha512sum.lst' script: # 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 - apk --no-cache add curl - | diff --git a/build.gradle b/build.gradle index e88fc49..273e6f4 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ apply plugin: "maven-publish" group = "org.domaindrivenarchitecture.provs" -version = "release-0.22.6" +version = "release-0.22.7" repositories { mavenCentral()