Skip to content

Commit

Permalink
chore: 👷 update release
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAugustin committed Aug 15, 2023
1 parent d09f791 commit c3ee28e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.gh_pat }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AUR_KEY: ${{ secrets.AUR_KEY }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
46 changes: 24 additions & 22 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ dockers:
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=MIT
dockerfile: Dockerfile
skip_push: auto
# use: buildx

aurs:
Expand Down Expand Up @@ -138,25 +139,26 @@ aurs:

skip_upload: true

#brews:
# - repository:
# owner: "AndreasAugustin"
# name: homebrew-tap
# token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
# commit_author:
# name: "Andy Augustin"
# email: "[email protected]"
# homepage: "https://github.com/AndreasAugustin/go-gitmoji-cli"
# description: "CLI for managing commits gitmoji and conventional commits format"
# dependencies:
# - name: git
# install: |-
# bin.install "{{ .ProjectName }}"
# bash_completion.install "completions/{{ .ProjectName }}.bash" => "{{ .ProjectName }}"
# zsh_completion.install "completions/{{ .ProjectName }}.zsh" => "_{{ .ProjectName }}"
# fish_completion.install "completions/{{ .ProjectName }}.fish"
## man1.install "manpages/{{ .ProjectName }}.1.gz"
#
# license: "MIT"
#
# skip_upload: true
brews:
- repository:
owner: "AndreasAugustin"
name: go-gitmoji-cli
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
pull_request:
enabled: true
commit_author:
name: "Andy Augustin"
email: "[email protected]"
homepage: "https://github.com/AndreasAugustin/go-gitmoji-cli"
description: "CLI for managing commits gitmoji and conventional commits format"
dependencies:
- name: git
install: |-
bin.install "{{ .ProjectName }}"
bash_completion.install "completions/{{ .ProjectName }}.bash" => "{{ .ProjectName }}"
zsh_completion.install "completions/{{ .ProjectName }}.zsh" => "_{{ .ProjectName }}"
fish_completion.install "completions/{{ .ProjectName }}.fish"
# man1.install "manpages/{{ .ProjectName }}.1.gz"
folder: Formula
license: "MIT"
skip_upload: auto
3 changes: 2 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
- [ ] viper config params also as cli flags
- [ ] issue with ctrl+c -> will get to next command
- [x] add hook functionality
- [ ] update basic readme with nice terminal gifs
- [x] update basic readme with nice terminal gifs
- [ ] add man pages and markdown docs

[goreleaser]: https://goreleaser.com/ci/actions/

0 comments on commit c3ee28e

Please sign in to comment.