Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: release

on:
push:
tags:
- v*

jobs:
release:
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build
run: make build
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: build/trk.tar.gz
draft: true
generateReleaseNotes: true
allowUpdates: true
skipIfReleaseExists: true
updateOnlyUnreleased: true
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

<div align="center">

[![GitHub Release](https://img.shields.io/github/v/release/TheoBrigitte/trk)](https://github.com/TheoBrigitte/trk)
[![test](https://github.com/TheoBrigitte/trk/actions/workflows/test.yaml/badge.svg)](https://github.com/TheoBrigitte/trk/actions/workflows/test.yaml)
![GitHub Downloads](https://img.shields.io/github/downloads/TheoBrigitte/trk/total)

</div>

Expand Down