diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c74463c..b28a67f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5.0.0 with: - go-version: '1.21.4' + go-version: '1.22.1' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5.0.0 diff --git a/.goreleaser.yml b/.goreleaser.yml index b671e48..6fe547e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: @@ -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' diff --git a/go.mod b/go.mod index 209b575..338d96b 100644 --- a/go.mod +++ b/go.mod @@ -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