Skip to content

Commit

Permalink
Merge pull request #620 from Checkmarx/other/remove-node-modules-1
Browse files Browse the repository at this point in the history
Update release.yml - remove node modules folder (AST-47573)
  • Loading branch information
OrShamirCM authored Nov 19, 2024
2 parents 3cf646f + e5b2ad0 commit 6fb6fc0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ jobs:
cat <<< $(jq ".version.Minor = ${{ env.MINOR_VERSION }}" ./cxAstScan/task.json) > ./cxAstScan/task.json
cat <<< $(jq ".version.Patch = ${{ env.PATCH_VERSION }}" ./cxAstScan/task.json) > ./cxAstScan/task.json
- name: Remove node_modules
run: rm -rf node_modules cxAstScan/node_modules

- name: Create extension
run: tfx extension create --manifest-globs vss-extension.json

Expand All @@ -72,17 +75,18 @@ jobs:
files: ./${{ env.PUBLISHER }}.${{ env.EXTENSION_ID }}-${{ env.RELEASE_VERSION }}.vsix
generate_release_notes: true

- name: Release to marketplance
- name: Release to marketplace
run: tfx extension publish --vsix *.vsix --token ${{ secrets.AZURETOKEN }}

- name: Get latest relase notes
- name: Get latest release notes
id: release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
body_release="$(gh api -H "Accept: application/vnd.github.v3+json" /repos/Checkmarx/ast-azure-plugin/releases/latest | jq -r '.body' )"
body_release="${body_release//$'\n'/'%0A'}"
echo "::set-output name=body_release::$body_release"
- name: Converts Markdown to HTML
id: convert
uses: lifepal/markdown-to-html@253bbd85fbdeafe2d1f18c1b9289be24e5cf8f8f #v1.2
Expand Down

0 comments on commit 6fb6fc0

Please sign in to comment.