Skip to content

Commit

Permalink
up goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
ddddddO committed Aug 25, 2024
1 parent 458505f commit 92cb241
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: cd
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
goreleaser:
runs-on: ubuntu-latest
Expand All @@ -14,12 +14,12 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '>=1.22'
go-version: ">=1.22"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN_CALMA }}
7 changes: 4 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
project_name: calma
env:
- GO111MODULE=on
Expand Down Expand Up @@ -42,9 +43,9 @@ brews:
owner: ddddddO
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
folder: Formula
homepage: 'https://github.com/ddddddO/calma'
description: '♻Calendar for Markdown♻ ...only for Japan!🎌'
directory: Formula
homepage: "https://github.com/ddddddO/calma"
description: "♻Calendar for Markdown♻ ...only for Japan!🎌"
license: "BSD-2-Clause"
scoops:
- repository:
Expand Down

0 comments on commit 92cb241

Please sign in to comment.