Skip to content

Commit

Permalink
[#55] initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Jul 26, 2020
1 parent e97269e commit 12d29bb
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This GitHub Action workflow will create a GitHub Release from a git tag that starts with 'v'.
# See https://github.com/actions/create-release
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Create Release

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: ami ${{ github.ref }}
body_path: RELEASE-NOTES-NEXT.md
# body: |
# Changes in this Release
# - First Change
# - Second Change
draft: false
prerelease: false
3 changes: 3 additions & 0 deletions RELEASE-NOTES-NEXT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Summary

This release is a test release to verify the GitHub Action that automatically creates a GitHub Release when a tag is pushed whose tag name starts with 'v'.
Empty file added RELEASE-NOTES.md
Empty file.

0 comments on commit 12d29bb

Please sign in to comment.