Skip to content

Commit

Permalink
[CI/CD] Fix Auto Release Trigger (#195)
Browse files Browse the repository at this point in the history
* trigger workflow after successful merge

* default patch

* update release date for version 1.0.0

Co-authored-by: Kyle <[hopeman15@users.noreply.github.com]>
  • Loading branch information
hopeman15 and Kyle authored Jul 25, 2022
1 parent a0efe6d commit 1a2f648
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Release ✈️

on:
push:
pull_request:
types: [ closed ]
branches:
- main

Expand All @@ -16,7 +17,7 @@ jobs:
access_token: ${{ github.token }}

create-release:
if: ${{ contains(github.event.*.labels.*.name, 'release :tada:') }}
if: ${{ (github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'release :tada:')) }}
name: Create Release
runs-on: ubuntu-latest
needs: cancel-previous
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [1.0.0] - July 18th 2022
## [1.0.0] - July 25th 2022

* Auto publishing via CI
* Auto labeling via CI
Expand Down
2 changes: 1 addition & 1 deletion MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Migration Guide

## 1.0.0 - July 18th 2022
## 1.0.0 - July 25th 2022

In version 1.0.0 we removed the deprecated `forgeries` and `build` (list) reified functions. The same functionality
is covered in the `forgeryList()` and `buildList()` functions.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BUMP ?= empty
BUMP ?= patch

.PHONY: all build clean dependencies coverage format lint local publish test version

Expand Down

0 comments on commit 1a2f648

Please sign in to comment.