Skip to content

Commit 1ec25c1

Browse files
Add notification for new release (AST-000)
1 parent 93a84f7 commit 1ec25c1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ jobs:
8888
chmod +x ./.github/scripts/update_cli.sh
8989
./.github/scripts/update_cli.sh ${{ inputs.cliTag }}
9090
91+
- name: Extract cli version
92+
run: |
93+
CLI_VERSION=$(../src/main/wrapper/resources/cx-linux --version)
94+
echo "Cli version being packed is $CLI_VERSION"
95+
echo "CLI_VERSION=$CLI_VERSION" >> $GITHUB_ENV
96+
9197
# RUN NPM INSTALL AND BUILD
9298
- name: NPM ci and build
9399
run: |
@@ -151,3 +157,16 @@ jobs:
151157
tag_name: ${{env.TAG_NAME}}
152158
generate_release_notes: true
153159
prerelease: ${{ inputs.dev }}
160+
161+
notify:
162+
if: inputs.dev == false
163+
needs: release
164+
uses: Checkmarx/plugins-release-workflow/.github/workflows/release-notify.yml@main
165+
with:
166+
product_name: Javascript Wrapper
167+
release_version: ${{env.TAG_NAME}}
168+
cli_release_version: ${{env.CLI_VERSION}}
169+
release_author: "Phoenix Team"
170+
release_url: https://github.com/CheckmarxDev/ast-cli-javascript-wrapper/releases/tag/${{env.TAG_NAME}}
171+
jira_product_name: JAVASCRIPT_WRAPPER
172+
secrets: inherit

0 commit comments

Comments
 (0)