Skip to content

Commit 64ed57f

Browse files
author
mayank0202
committed
Added workflow for github-release
1 parent d4580df commit 64ed57f

File tree

2 files changed

+29
-17
lines changed

2 files changed

+29
-17
lines changed

.github/workflows/tag-release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Bump version
3+
on: # yamllint disable-line rule:truthy
4+
push:
5+
branches:
6+
- main
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@master
12+
- name: Bump version and push tag
13+
id: tag
14+
uses: anothrNick/github-tag-action@master
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
DEFAULT_BUMP: patch
18+
REPO_OWNER: sourcefuse
19+
- name: Create Release
20+
id: create_release
21+
uses: actions/create-release@v1.1.4
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
24+
with:
25+
tag_name: ${{ steps.tag.outputs.tag }}
26+
release_name: v${{ steps.tag.outputs.tag }}
27+
body: ${{ github.release_notes }}
28+
draft: false
29+
prerelease: false

.github/workflows/tag.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)