Skip to content

Replace managed with channel (#2186) #5

Replace managed with channel (#2186)

Replace managed with channel (#2186) #5

name: Create pre-release
on:
push:
tags:
- v0.0.0-dev
branches:
- main
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: push dev tag
run: |
git tag -f v0.0.0-dev
git push -f origin v0.0.0-dev
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache-dependency-path: "go.sum"
- name: Install goreleaser
run: go install github.com/goreleaser/goreleaser/v2@latest
- name: Create pre-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
goreleaser release --clean --config .goreleaser-dev.yml