Skip to content

Commit fc661ce

Browse files
committed
ci: use tagpr
1 parent cc1b093 commit fc661ce

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

.github/workflows/release.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: release
3+
on:
4+
push:
5+
branches:
6+
- main
7+
jobs:
8+
tagpr:
9+
runs-on: ubuntu-24.04
10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
steps:
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+
with:
16+
token: ${{ secrets.TAGPR_GITHUB_PAT }}
17+
- uses: aquaproj/aqua-installer@e2d0136abcf70b7a2f6f505720640750557c4b33 # v3.1.1
18+
with:
19+
aqua_version: v2.43.3
20+
- run: aqua install
21+
- name: run tagpr
22+
run: tagpr
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.TAGPR_GITHUB_PAT }}

.tagpr

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[tagpr]
2+
vPrefix = true
3+
releaseBranch = main
4+
versionFile = version.txt
5+
release = true
6+
commitPrefix = "chore(tagpr): "

version.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v0.3.0

0 commit comments

Comments
 (0)