Skip to content

docs: add CHANGELOG.md for GoReleaser #16

docs: add CHANGELOG.md for GoReleaser

docs: add CHANGELOG.md for GoReleaser #16

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Checkout cimis-tsdb dependency
uses: actions/checkout@v6
with:
repository: dl-alexandre/cimis-tsdb
path: _deps/cimis-tsdb
token: ${{ secrets.CI_PAT }}
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
- name: Run tests
run: go test ./...
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v7
with:
distribution: goreleaser
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
SCOOP_BUCKET_TOKEN: ${{ secrets.SCOOP_BUCKET_TOKEN }}