generate-changelog.sh 377 B

1234567891011
  1. #!/bin/bash
  2. set -e
  3. version=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.modules[0].id' | sed 's/.*:.*:\(.*\)/\1/' )
  4. java -jar /github-changelog-generator.jar \
  5. --changelog.repository=spring-io/asciidoctor-spring-backend \
  6. ${version} generated-changelog/changelog.md
  7. echo ${version} > generated-changelog/version
  8. echo v${version} > generated-changelog/tag