Skip to content

Commit c3c7db7

Browse files
author
Manthan Ankolekar
committed
feat: added release yml and json file
1 parent cd4b725 commit c3c7db7

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.github/workflows/releases.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Releases
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
changelog:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: conventional Changelog Action
15+
id: changelog
16+
uses: TriPSs/[email protected]
17+
with:
18+
github-token: ${{ secrets.PA_TOKEN }}
19+
version-file: './releases.json'
20+
21+
- name: create release
22+
uses: actions/create-release@v1
23+
if: ${{ steps.changelog.outputs.skipped == 'false' }}
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.PA_TOKEN }}
26+
with:
27+
tag_name: ${{ steps.changelog.outputs.tag }}
28+
release_name: ${{ steps.changelog.outputs.tag }}
29+
body: ${{ steps.changelog.outputs.clean_changelog }}

CHANGELOG.md

Whitespace-only changes.

releases.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"version": "1.0.0"
3+
}

0 commit comments

Comments
 (0)