Create releases on tags

This commit is contained in:
Nikolai Rodionov 2023-06-01 20:35:08 +02:00
parent 2cea489bd2
commit 0af0d5a1ed
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10

View File

@ -1,13 +1,11 @@
---
kind: pipeline
name: Release kubers
type: docker
trigger:
branch:
- main
event:
- push
ref:
- refs/tags/*
steps:
- name: prepare build
image: alpine
@ -16,7 +14,6 @@ steps:
- mkdir dist
- cp ./kubers ./dist
- cp ./completions/_kubers ./dist
- ./kubers --version > version.txt
- name: gitea release
image: plugins/gitea-release
@ -26,4 +23,3 @@ steps:
base_url: https://git.badhouseplants.net
files: dist/*
checksum: sha512
title: ./version.txt