Release v0.6.0

This commit is contained in:
chenjiandongx 2021-12-25 00:12:12 +08:00
parent ea3d9dbd1f
commit 1175398a87
2 changed files with 11 additions and 12 deletions

View File

@ -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
cli.go
View File

@ -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()