mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-22 21:00:52 +08:00
13 lines
410 B
Bash
Executable File
13 lines
410 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
CONFIG_DIR=git-repo/ci/config
|
|
version=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.modules[0].id' | sed 's/.*:.*:\(.*\)/\1/' )
|
|
|
|
java -jar /github-changelog-generator.jar \
|
|
--spring.config.location=${CONFIG_DIR}/changelog-generator.yml \
|
|
${version} generated-changelog/changelog.md
|
|
|
|
echo ${version} > generated-changelog/version
|
|
echo v${version} > generated-changelog/tag
|