Skip to content

Commit a14842b

Browse files
authored
Create releases.yaml
1 parent 475b12c commit a14842b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/releases.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Bump version
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Bump version and push tag
12+
id: tag_version
13+
uses: mathieudutour/github-tag-action@v5.4
14+
with:
15+
github_token: ${{ secrets.GITHUB_TOKEN }}
16+
- name: Create a GitHub release
17+
uses: actions/create-release@v1
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
with:
21+
tag_name: ${{ steps.tag_version.outputs.new_tag }}
22+
release_name: Release ${{ steps.tag_version.outputs.new_tag }}
23+
body: ${{ steps.tag_version.outputs.changelog }}

0 commit comments

Comments
 (0)