Commit 532e7587 authored by Andy Wilkinson's avatar Andy Wilkinson

Correct the version input for changelog generation

See gh-25107
parent 748e52df
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
set -e set -e
CONFIG_DIR=git-repo/ci/config CONFIG_DIR=git-repo/ci/config
version=$( cat version/version ) version=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.modules[0].id' | sed 's/.*:.*:\(.*\)/\1/' )
milestone=${version} milestone=${version}
if [[ $RELEASE_TYPE = "RELEASE" ]]; then if [[ $RELEASE_TYPE = "RELEASE" ]]; then
......
...@@ -7,7 +7,7 @@ image_resource: ...@@ -7,7 +7,7 @@ image_resource:
tag: '0.0.5' tag: '0.0.5'
inputs: inputs:
- name: git-repo - name: git-repo
- name: version - name: artifactory-repo
outputs: outputs:
- name: generated-changelog - name: generated-changelog
params: params:
......
Markdown is supported
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