Skip to content

Commit 90e5189

Browse files
committed
Add automated release workflow
1 parent b765b81 commit 90e5189

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags:
6+
- '**'
7+
8+
jobs:
9+
build:
10+
name: Create a release
11+
runs-on: ubuntu-20.04
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Create release
17+
uses: actions/create-release@latest
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
20+
with:
21+
tag_name: ${{ github.ref }}
22+
release_name: CodeIgniter Coding Standard ${{ github.ref }}
23+
draft: true
24+
prerelease: false
25+
body: |
26+
Please refer to the [CHANGELOG](CHANGELOG.md) for the detailed list of changes.

0 commit comments

Comments
 (0)