Skip to content

Commit

Permalink
Misc update (#120)
Browse files Browse the repository at this point in the history
* version update

* workflow update
  • Loading branch information
ehsandeep committed Nov 22, 2022
1 parent 3e1f2e1 commit 035004d
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 11 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-test.yml
@@ -1,7 +1,6 @@
name: 🔨 Build Test

on:
push:
pull_request:
workflow_dispatch:

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/codeql-analysis.yml
@@ -1,10 +1,8 @@
name: 🚨 CodeQL Analysis

on:
workflow_dispatch:
pull_request:
branches:
- dev
workflow_dispatch:

jobs:
analyze:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dockerhub-push.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Get Github tag
id: meta
run: |
echo "::set-output name=tag::$(curl --silent "https://api.github.com/repos/projectdiscovery/chaos-client/releases/latest" | jq -r .tag_name)"
curl --silent "https://api.github.com/repos/projectdiscovery/chaos-client/releases/latest" | jq -r .tag_name | xargs -I {} echo TAG={} >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand All @@ -37,4 +37,4 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64,linux/arm
push: true
tags: projectdiscovery/chaos-client:latest,projectdiscovery/chaos-client:${{ steps.meta.outputs.tag }}
tags: projectdiscovery/chaos-client:latest,projectdiscovery/chaos-client:${{ steps.meta.outputs.TAG }}
2 changes: 1 addition & 1 deletion .github/workflows/lint-test.yml
@@ -1,6 +1,6 @@
name: 🙏🏻 Lint Test

on:
push:
pull_request:
workflow_dispatch:

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release-binary.yml
Expand Up @@ -2,6 +2,8 @@ name: 🎉 Release Binary

on:
create:
tags:
- v*
workflow_dispatch:

jobs:
Expand All @@ -21,5 +23,6 @@ jobs:
args: "release --rm-dist"
version: latest
workdir: .
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
SLACK_WEBHOOK: "${{ secrets.RELEASE_SLACK_WEBHOOK }}"
7 changes: 7 additions & 0 deletions .goreleaser.yml
Expand Up @@ -33,3 +33,10 @@ archives:

checksum:
algorithm: sha256

announce:
slack:
enabled: true
channel: '#release'
username: GoReleaser
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
4 changes: 2 additions & 2 deletions internal/runner/banner.go
Expand Up @@ -7,11 +7,11 @@ const banner = `
_____/ /_ ____ _____ _____
/ ___/ __ \/ __ / __ \/ ___/
/ /__/ / / / /_/ / /_/ (__ )
\___/_/ /_/\__,_/\____/____/ v0.3.0
\___/_/ /_/\__,_/\____/____/ v0.4.0
`

// Version is the current version of chaos
const Version = `0.3.0`
const Version = `0.4.0`

// showBanner is used to show the banner to the user
func showBanner() {
Expand Down

0 comments on commit 035004d

Please sign in to comment.