Skip to content

Commit

Permalink
Release v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiandongx committed Dec 24, 2021
1 parent ea3d9db commit 1175398
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/release.yaml
@@ -1,19 +1,18 @@
name: Release
name: Homebrew

on:
release:
types: [created]

workflow_dispatch:
repository_dispatch:
types: [release]
jobs:
homebrew:
name: Bump Homebrew formula
runs-on: macos-latest
needs:
- release
steps:
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
- uses: dawidd6/action-homebrew-bump-formula@v3.8.0
with:
token: ${{ secrets.BREW_TOKEN }}
# GitHub token, required, not the default one
token: ${{secrets.RELEASE_GITHUB_TOKEN}}
# Formula name, required
formula: sniffer
tag: ${{ github.ref }}
revision: ${{ github.sha }}
tag: ${{ github.event.client_payload.ref }}
2 changes: 1 addition & 1 deletion cli.go
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/spf13/cobra"
)

const version = "v0.5.2"
const version = "v0.6.0"

func NewApp() *cobra.Command {
defaultOpts := DefaultOptions()
Expand Down

0 comments on commit 1175398

Please sign in to comment.