Skip to content

Commit 7042673

Browse files
committed
and again
Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com>
1 parent 48117ba commit 7042673

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/base-ci-goreleaser.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,13 @@ jobs:
189189
if-no-files-found: error
190190

191191
- name: Prepare variables
192+
id: prep
192193
run: |
193-
echo "VERSION=$(cat ./distributions/${{ inputs.distribution }}/dist/**/metadata.json | jq '.version')" >> "$GITHUB_OUTPUT"
194+
echo "version=$(cat ./distributions/${{ inputs.distribution }}/dist/**/metadata.json | jq '.version')" >> "$GITHUB_OUTPUT"
194195
195196
- name: Debugging
196197
run: |
197-
echo '${{ env.VERSION }}'
198+
echo '${{ steps.prep.outputs.version }}'
198199
199200
# - name: Build container images locally
200201
# if: contains(fromJSON(steps.build-snapshot.outputs.artifacts).*.type, 'Docker Image') == 'true'

0 commit comments

Comments
 (0)