Skip to content

Commit aa7e2f3

Browse files
authored
Fix version output
1 parent 9340515 commit aa7e2f3

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/actions/azdo-build/action.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,6 @@ runs:
204204
run: |
205205
set -e -o pipefail
206206
207-
# tdnf install -y icu
208-
# tdnf install -y jq
209207
az extension add --name azure-devops --only-show-errors
210208
211209
RUN_ID="${{ steps.run-pipeline.outputs.run-id }}"
@@ -241,7 +239,7 @@ runs:
241239
- id: get-version
242240
name: Get version
243241
run: |
244-
VERSION=$(tar -xzOf botframework-webchat-core-*.tgz package/package.json)
242+
VERSION=$(tar -xzOf botframework-webchat-core-*.tgz package/package.json | jq -r '.version')
245243
246244
echo version=$VERSION | tee --append $GITHUB_OUTPUT
247245
@@ -410,8 +408,8 @@ runs:
410408
# --draft=false \
411409
# --repo ${{ github.repository }}
412410

413-
- continue-on-error: true
414-
if: ${{ always() }}
415-
name: Azure logout
416-
run: az logout
417-
shell: bash
411+
# - continue-on-error: true
412+
# if: ${{ always() }}
413+
# name: Azure logout
414+
# run: az logout
415+
# shell: bash

0 commit comments

Comments
 (0)