Skip to content

Commit 6cc2a21

Browse files
authored
ci: Auto Release Tags (#920)
1 parent 8d78a3b commit 6cc2a21

3 files changed

Lines changed: 27 additions & 3 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Create Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
build:
10+
name: Create Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v6
15+
16+
# https://github.com/softprops/action-gh-release
17+
- name: Release
18+
uses: softprops/action-gh-release@v2
19+
with:
20+
generate_release_notes: true
21+
token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/create-tag.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
13-
- uses: butlerlogic/[email protected]
12+
- uses: actions/checkout@v6
13+
14+
# https://github.com/butlerlogic/action-autotag
15+
- uses: butlerlogic/action-autotag@stable
1416
env:
1517
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1618
with:
1719
root: clib.json
20+
tag_prefix: "v"

clib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuklear",
3-
"version": "4.13.2",
3+
"version": "4.13.3",
44
"repo": "Immediate-Mode-UI/Nuklear",
55
"description": "A small ANSI C gui toolkit",
66
"keywords": ["gl", "ui", "toolkit"],

0 commit comments

Comments
 (0)