Skip to content

Commit

Permalink
fixing publish to production pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
polatengin committed Feb 14, 2024
1 parent c9781d6 commit e418f6d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,17 @@ jobs:
cat <<< $(jq ".version = \"${VERSION}\"" vss-extension-prod.json) > vss-extension-prod.json
echo "EXTENSION_VERSION=${VERSION}" >> $GITHUB_OUTPUT
npm install
npm run build:p
npm run pack:p
tfx extension publish --manifests vss-extension-prod.json --vsix ./dist/*.vsix --token "${{ secrets.AZURE_DEVOPS_TOKEN }}"
ext_info=$(tfx extension show --no-prompt --json --publisher "ms-devlabs" --extensionId "team-retrospectives" --token ${{ secrets.AZURE_DEVOPS_TOKEN }})
VERSION=$(jq -r '.versions[0].version' <<< "$ext_info")
echo "EXTENSION_VERSION=${VERSION}" >> $GITHUB_OUTPUT
- name: Create the tag for the extension release
uses: actions/github-script@v7
with:
Expand Down

0 comments on commit e418f6d

Please sign in to comment.