Skip to content

add goreleaser and git ignore #6

add goreleaser and git ignore

add goreleaser and git ignore #6

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.x # Specify the Go version
- name: Install goreleaser
run: go install github.com/goreleaser/goreleaser@latest
- name: Run goreleaser
run: |
export GITHUB_TOKEN=$RELEASE_GITHUB_TOKEN # Replace with your actual GitHub token
goreleaser release