-
-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (35 loc) · 1.06 KB
/
create-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Create Release
on:
push:
branches:
- feature/update-icons
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.TOKEN_BOT }}
persist-credentials: false
ref: ${{ github.head_ref }}
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
tag_prefix: ""
release_branches: "feature/update-icons"
github_token: ${{ secrets.TOKEN_BOT }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.TOKEN_BOT }}
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
- name: Update Main
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.TOKEN_BOT }}
branch: "main"