Skip to content

Create release

Create release #13

Workflow file for this run

# This workflow creates a release using goreleaser
# via the 'make release' command.
name: Create release
on:
workflow_dispatch:
inputs:
release_tag:
description: "The desired tag for the release (e.g. v0.1.0)."
required: true
permissions:
contents: write
jobs:
release:
name: Create release
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.inputs.release_tag }}
- name: Make release
run: |
make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 🧹 Clean release folder
run: |
sudo rm -rf dist