Skip to content

Commit

Permalink
fix: fixing homebrew deployment pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelwhix committed Mar 11, 2024
1 parent 1f4aa4b commit 1222414
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 150 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/homebrew.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build release binaries

on:
pull_request:
branches:
- main

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.17

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: ${{ env.GITHUB_REF_NAME }}
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ go.sum
dist/
.idea
/bin/*
./treblle
./treblle
compose.yml
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/treblle/treblle-cli

go 1.20
go 1.17

require (
github.com/charmbracelet/lipgloss v0.9.1
Expand Down
148 changes: 0 additions & 148 deletions go.sum

This file was deleted.

0 comments on commit 1222414

Please sign in to comment.