Skip to content

Commit

Permalink
Fix for broken release: 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
metcalfc committed Mar 29, 2020
1 parent f03dea0 commit 652144e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
uses: actions/checkout@v2
- name: Generate changelog
id: changelog
uses: metcalfc/[email protected].1
uses: metcalfc/[email protected].2
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
head-ref: "v0.0.2"
Expand All @@ -19,7 +19,7 @@ jobs:
run: echo "${{ steps.changelog.outputs.changelog }}"
- name: Generate changelog from release
id: release
uses: metcalfc/[email protected].1
uses: metcalfc/[email protected].2
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
- name: Get the changelog
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v0.2.1
- "v*" # Push events to matching v*, i.e. v1.0, v0.2.2

jobs:
build:
Expand All @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v2
- name: Generate changelog
id: changelog
uses: metcalfc/[email protected].1
uses: metcalfc/[email protected].2
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ There are two blocks you will need. First you will need to generate the changelo

- name: Generate changelog
id: changelog
uses: metcalfc/[email protected].1
uses: metcalfc/[email protected].2
with:
myToken: ${{ secrets.GITHUB_TOKEN }}

Or if you have two specific references you want:

- name: Generate changelog
id: changelog
uses: metcalfc/[email protected].1
uses: metcalfc/[email protected].2
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.1",
"version": "0.2.2",
"description": "A GitHub Action that compares the commit differences between two branches",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 652144e

Please sign in to comment.