Commit f5706257 authored by Stefan Funk's avatar Stefan Funk
Browse files

chore: hmpf! :-)

parent 1b8d575c
Pipeline #314502 passed with stages
in 12 minutes and 16 seconds
......@@ -48,22 +48,18 @@ cache:
get-pom-version:
stage: prepare
only:
- main
- develop
- tags
extends:
- .get-pom-version-to-env
# Semantic versioning: Update POM and CHANGELOG RELEASE files, TAG a new RELEASE version!
semantic-release:
stage: build
prepare-release:
stage: prepare
rules:
# Only run if branch "main" AND commit title IS NOT "1.2.3" (main commit with tag) AND DOES NOT START WITH "Prepare next development iteration" (main commit with new version)
- if: $CI_COMMIT_REF_NAME == "main" && $CI_COMMIT_TITLE !~ /^[\d\.]+$/ && $CI_COMMIT_TITLE !~ /^Prepare next development iteration/
image: maven:3.8.3-jdk-8
script:
# Add POM version to release asset kolibri-cli JAR first, then prepare semantic (and GitLab release!
- sed 's/POM_VERSION/${PVERSION}/' package.json > package.json.tmp; mv package.json.tmp package.json
extends:
- .prepare-semantic-release
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment