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

Skip to content

Commit 147940b

Browse files
committed
feature: add release workflow
1 parent 38c29ec commit 147940b

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

.github/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
changelog:
2+
exclude:
3+
authors:
4+
- dependabot
5+
- dependabot[bot]
6+
categories:
7+
- title: "🚀 Changes"
8+
labels:
9+
- "*"

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build and Release on Tag
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build_and_release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
- name: Create Release
18+
run: |
19+
gh release create ${{github.ref_name}} --generate-notes
20+
env:
21+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)