Skip to content

Commit

Permalink
Merge pull request #73 from birdiecare/fix/dbc-proxy-went-brrr
Browse files Browse the repository at this point in the history
fix: update release pipeline
  • Loading branch information
betoui authored Jan 9, 2025
2 parents de29a9c + 1a0d595 commit 2541d23
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "Release"
on:
push:
tags:
- '*'
- "*"
workflow_dispatch: {}

permissions:
Expand All @@ -13,7 +13,6 @@ jobs:
release:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v3

Expand All @@ -26,6 +25,6 @@ jobs:
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: -f .goreleaser.yaml release --rm-dist
args: -f .goreleaser.yaml release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19 changes: 10 additions & 9 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Check https://goreleaser.com/customization/env/
# Check https://goreleaser.com/customization/env/
env:
- GO111MODULE=on
- GOPROXY=https://goproxy.io

# Check https://goreleaser.com/customization/hooks/
before:
hooks:
- go mod download
- go mod tidy
- go mod download
- go mod tidy

# Check https://goreleaser.com/customization/build/
builds:
Expand All @@ -20,18 +20,16 @@ builds:

# Check https://goreleaser.com/customization/archive/
archives:
-
name_template: "birdiecare_dbc_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- name_template: "birdiecare_dbc_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- README.md

project_name: dbc

# Check https://goreleaser.com/customization/homebrew/
brews:
-
homepage: 'https://github.com/birdicare/homebrew-dbc'
description: 'Database Connect'
- homepage: "https://github.com/birdicare/homebrew-dbc"
description: "Database Connect"
folder: Formula
commit_author:
name: harrywm
Expand All @@ -40,4 +38,7 @@ brews:
owner: birdiecare
name: dbc
install: |
bin.install "dbc"
bin.install "dbc"
clean:
enabled: true

0 comments on commit 2541d23

Please sign in to comment.