Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Prepare release 0.6.0 (#119) #26

Prepare release 0.6.0 (#119)

Prepare release 0.6.0 (#119) #26

Workflow file for this run

name: Release and deploy DEB/RPM repo
on:
push:
tags:
- "*"
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
name: Checkout code
with:
fetch-depth: 0
- name: Build meta package Debian release
run: |
sudo apt install -y equivs
make deb
- name: Build meta package RPM release
run: |
sudo apt install -y rpm
make rpm
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.21"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}