From caf064a924eff1223fab66a478161819096bb9c7 Mon Sep 17 00:00:00 2001 From: moualhi zine el abidine Date: Fri, 22 Mar 2024 16:37:08 +0100 Subject: [PATCH] =?UTF-8?q?feat=20=E2=9C=A8:=20added=20winget?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: moualhi zine el abidine --- .github/workflows/release.yml | 2 +- .goreleaser.yml | 27 +++++++++++++++++++++++++++ go.mod | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) 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