Skip to content

Commit

Permalink
feat ✨: added winget
Browse files Browse the repository at this point in the history
Signed-off-by: moualhi zine el abidine <[email protected]>
  • Loading branch information
muandane committed Mar 22, 2024
1 parent a598f1f commit caf064a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/[email protected]
with:
go-version: '1.21.4'
go-version: '1.22.1'
-
name: Run GoReleaser
uses: goreleaser/[email protected]
Expand Down
27 changes: 27 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,19 @@ builds:
main: ./
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
- arm
goarm:
- "7"
ignore:
- goos: windows
goarch: arm64
- goos: windows
goarm: "7"
env:
- CGO_ENABLED=0
ldflags:
Expand Down Expand Up @@ -57,6 +66,24 @@ brews:
zsh_completion.install "completions/goji.zsh" => "_goji"
fish_completion.install "completions/goji.fish"
man1.install "manpages/goji.1.gz"
winget:
- publisher: muandane
license: "Apache-2.0 license"
copyright: Muandane
homepage: "https://github.com/muandane/goji"
short_description: "Commitizen-like Emoji Commit Tool written in Go"
repository:
owner: "muandane"
name: winget-pkgs
branch: "{{.ProjectName}}-{{.Version}}"
# pull_request:
# enabled: true
# draft: false
# check_boxes: true
# base:
# owner: microsoft
# name: winget-pkgs
# branch: master

checksum:
name_template: 'checksums.txt'
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/muandane/goji

go 1.21.7
go 1.22.1

require (
github.com/charmbracelet/glamour v0.6.0
Expand Down

0 comments on commit caf064a

Please sign in to comment.