Skip to content

Commit

Permalink
Merge pull request #26 from thomaseizinger/release/1.4.0
Browse files Browse the repository at this point in the history
Release version 1.4.0
  • Loading branch information
thomaseizinger committed Feb 22, 2020
2 parents ad6025d + b42d572 commit 1f4006d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/draft-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ jobs:
name: "Draft a new release"
runs-on: ubuntu-latest
# Only run for issues with a specific title and label. Not strictly required but makes finding the release issue again later easier.
if: startsWith(github.event.issue.title, 'Release version') && contains(github.event.issue.labels.*.name, 'release')
# There is also a whitelist that you may want to use to restrict, who can trigger this workflow.
# Unfortunately, we cannot create an array on the fly, so the whitelist is just comma-separated.
if: startsWith(github.event.issue.title, 'Release version') && contains(github.event.issue.labels.*.name, 'release') && contains('thomaseizinger,yourusername', github.event.issue.user.login)
steps:
- uses: actions/checkout@v2

Expand Down
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.4.0] - 2020-02-22

### Added

- A whitelist of which users can trigger the release workflow.

## [1.3.0] - 2020-02-22

### Added

- Automatically close the release issue after the release branch was merged.

## [1.2.0] - 2020-02-17

### Changed
Expand All @@ -33,7 +43,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Everything since the beginning!

[Unreleased]: https://github.com/thomaseizinger/github-action-gitflow-release-workflow/compare/1.3.0...HEAD
[Unreleased]: https://github.com/thomaseizinger/github-action-gitflow-release-workflow/compare/1.4.0...HEAD

[1.4.0]: https://github.com/thomaseizinger/github-action-gitflow-release-workflow/compare/1.3.0...1.4.0

[1.3.0]: https://github.com/thomaseizinger/github-action-gitflow-release-workflow/compare/1.2.0...1.3.0

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "github-action-gitflow-release-workflow",
"version": "1.3.0",
"version": "1.4.0",
"main": "index.js",
"author": "Thomas Eizinger <thomas@eizinger.io>",
"license": "MIT",
Expand Down

0 comments on commit 1f4006d

Please sign in to comment.