Skip to content

Commit 6cc9259

Browse files
authored
Merge pull request #6 from tgharold/tgharold-create-release-1
Create create-release.yml
2 parents 8cb8333 + d9a713a commit 6cc9259

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# https://github.com/actions/create-release
2+
3+
name: Create Release
4+
5+
on:
6+
push:
7+
# Sequence of patterns matched against refs/tags
8+
tags:
9+
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
10+
11+
jobs:
12+
build:
13+
name: Create Release
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v2
18+
19+
- name: Create Release
20+
id: create_release
21+
uses: actions/create-release@latest
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: ${{ github.ref }}
26+
release_name: Release ${{ github.ref }}
27+
body: |
28+
Changes in this Release
29+
- First Change
30+
- Second Change
31+
draft: false
32+
prerelease: true

0 commit comments

Comments
 (0)