Skip to content
Snippets Groups Projects
Commit 23d44a80 authored by jurgenhaas's avatar jurgenhaas
Browse files

Merge branch 'develop' into 'main'

Merging develop into main

See merge request !22
parents 2df6046a 64a8d6bd
No related branches found
No related tags found
1 merge request!22Merging develop into main
......@@ -5,7 +5,7 @@ include:
variables:
VERSION: ${CI_COMMIT_TAG}
CI_VERSION: v2.0.17
CI_VERSION: v2.0.18
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
......
......@@ -12,5 +12,20 @@ commands:
if [ "x$1" != "x" ]; then
cd $1
fi
dorg-cli maintainer:release-notes $(gen-semver)
usage: Same as above but for a drupal.org project.
PROJECT=${PWD##*/}
TO=$(git tag --sort=committerdate | tail -1)
FROM=$(git tag --sort=committerdate | tail -2 | head -1)
FORMAT=html
if [ "x$2" != "x" ]; then
FROM=$2
fi
if [ "x$3" != "x" ]; then
FROM=$3
fi
if [ "x$4" != "x" ]; then
FROM=$4
fi
curl "https://api.drupal-mrn.dev/changelog?project=${PROJECT}&to=${TO}&from=${FROM}&format=${FORMAT}"
usage: Same as above but for a drupal.org project. Optional arguments are (1) relative path to project, (2) the from tag, (3) the to tag, (4) the output format.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment