Skip to content

Commit

Permalink
Change the output to include short hash.
Browse files Browse the repository at this point in the history
  • Loading branch information
metcalfc committed Apr 30, 2020
1 parent 28b8c52 commit febebe2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v0.2.5
- 'v*' # Push events to matching v*, i.e. v1.0, v0.3.0

jobs:
release:
Expand All @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v2
- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v0.2.5
uses: metcalfc/changelog-generator@v0.3.0
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This Action returns a markdown formatted changelog between two git references. T

I just wanted a simple way to populate the body of a GitHub Release.

<a href="https://github.com/metcalfc/changelog-generator/releases/tag/v0.2.5"><img alt="Example Release Notes" src="./release-notes.png" width="400"></a>
<a href="https://github.com/metcalfc/changelog-generator/releases/tag/v0.3.0"><img alt="Example Release Notes" src="./release-notes.png" width="400"></a>

## Inputs

Expand All @@ -28,15 +28,15 @@ There are two blocks you will need. First you will need to generate the changelo

- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v0.2.5
uses: metcalfc/changelog-generator@v0.3.0
with:
myToken: ${{ secrets.GITHUB_TOKEN }}

Or if you have two specific references you want:

- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v0.2.5
uses: metcalfc/changelog-generator@v0.3.0
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
head-ref: 'v0.0.2'
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "changelog-generator",
"version": "0.2.5",
"version": "0.3.0",
"description": "A GitHub Action that compares the commit differences between two branches",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit febebe2

Please sign in to comment.