Skip to content

Commit

Permalink
Merge branch 'Melkeydev:main' into feat/repo-templates
Browse files Browse the repository at this point in the history
  • Loading branch information
muandane authored Nov 12, 2023
2 parents 9723254 + bfeae99 commit 32a7656
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 44 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: goreleaser

on:
push:
tags:
- "v*.*.*"

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21.1'
-
name: Run GoReleaser
uses: goreleaser/[email protected]
with:
distribution: goreleaser
version: ${{ env.GITHUB_REF_NAME }}
args: release --clean
workdir: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43 changes: 0 additions & 43 deletions .github/workflows/tag-release.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
builds:
- binary: go-blueprint
main: ./
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0

release:
prerelease: auto

universal_binaries:
- replace: true

brews:
- name: go-blueprint
homepage: "https://github.com/Melkeydev/homebrew-melkey"

checksum:
name_template: 'checksums.txt'
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@ gives the option to integrate with one of the more popular Go frameworks (and th

### Install

- **Brew install :**

```sh
brew install go-blueprint
```

- **Go install :**

```sh
go install github.com/melkeydev/go-blueprint@latest
```

Expand Down
3 changes: 2 additions & 1 deletion contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
- young-steveo
- mikelerch
- nhlmg93
- sakelig
- sakelig
- muandane

0 comments on commit 32a7656

Please sign in to comment.