Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:

notify:
name: Update Teams & JIRA About New Release
if: inputs.dev == false
if: inputs.dev == false && 1 == 0
needs: build
uses: Checkmarx/plugins-release-workflow/.github/workflows/release-notify.yml@main
with:
Expand All @@ -157,7 +157,7 @@ jobs:

dispatch_auto_release:
name: Update Plugins With new Cli Version
if: inputs.dev == false
if: inputs.dev == false && 1 == 0
needs: notify
uses: Checkmarx/plugins-release-workflow/.github/workflows/dispatch-workflow.yml@main
with:
Expand Down
51 changes: 26 additions & 25 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,31 +112,32 @@ universal_binaries:
hooks:
post: bash -c 'envsubst < gonMac.hcl > /tmp/gonMac.hcl && gon /tmp/gonMac.hcl'

brews:
- tap:
owner: checkmarx
name: homebrew-ast-cli
token: "{{ .Env.GO_BOT_TOKEN }}"
ids:
- cx
- cx-mac-universal
folder: Formula
homepage: https://github.com/Checkmarx/ast-cli
description: CLI for Checkmarx One
license: Apache
test: |
system "#{bin}/cx version"
install: |-
bin.install "cx"
# Install bash completion
output = Utils.popen_read("#{bin}/cx utils completion -s bash")
(bash_completion/"cx").write output
# Install zsh completion
output = Utils.popen_read("#{bin}/cx utils completion -s zsh")
(zsh_completion/"_cx").write output
# Install fish completion
output = Utils.popen_read("#{bin}/cx utils completion -s fish")
(fish_completion/"cx.fish").write output
# brews:
# - skip: true
# tap:
# owner: checkmarx
# name: homebrew-ast-cli
# token: "{{ .Env.GO_BOT_TOKEN }}"
# ids:
# - cx
# - cx-mac-universal
# folder: Formula
# homepage: https://github.com/Checkmarx/ast-cli
# description: CLI for Checkmarx One
# license: Apache
# test: |
# system "#{bin}/cx version"
# install: |-
# bin.install "cx"
# # Install bash completion
# output = Utils.popen_read("#{bin}/cx utils completion -s bash")
# (bash_completion/"cx").write output
# # Install zsh completion
# output = Utils.popen_read("#{bin}/cx utils completion -s zsh")
# (zsh_completion/"_cx").write output
# # Install fish completion
# output = Utils.popen_read("#{bin}/cx utils completion -s fish")
# (fish_completion/"cx.fish").write output

blobs:
- provider: s3
Expand Down
Loading