Skip to content

Commit 1b722f1

Browse files
author
Javier Bullrich
committed
Used unique app name and applied action to itself
1 parent 6788199 commit 1b722f1

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
on:
2+
push:
3+
tags:
4+
- '*'
5+
6+
name: Create Release
7+
8+
jobs:
9+
build:
10+
name: Create Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
17+
- name: Changelog
18+
uses: Bullrich/generate-release-changelog@master
19+
id: Changelog
20+
env:
21+
REPO: ${{ github.repository }}
22+
- name: Create Release
23+
id: create_release
24+
uses: actions/create-release@latest
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
with:
28+
tag_name: ${{ github.ref }}
29+
release_name: Release ${{ github.ref }}
30+
body: |
31+
${{ steps.Changelog.outputs.changelog }}
32+
draft: false
33+
prerelease: false

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
fetch-depth: 0
2929
- name: Changelog
30-
uses: scottbrenner/generate-changelog-action@master
30+
uses: Bullrich/generate-release-changelog@master
3131
id: Changelog
3232
env:
3333
REPO: ${{ github.repository }}

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'generate-changelog-action'
1+
name: 'generate-release-changelog'
22
description: 'GitHub Action for generating a changelog of all commits in a release'
33
author: 'Javier Bullrich'
44
outputs:

0 commit comments

Comments
 (0)