From 1a2f648c2c6d83506c771295035075ef6bcec316 Mon Sep 17 00:00:00 2001 From: Kyle Roe Date: Mon, 25 Jul 2022 10:13:27 +0200 Subject: [PATCH] [CI/CD] Fix Auto Release Trigger (#195) * trigger workflow after successful merge * default patch * update release date for version 1.0.0 Co-authored-by: Kyle <[hopeman15@users.noreply.github.com]> --- .github/workflows/auto-release.yml | 5 +++-- CHANGELOG.MD | 2 +- MIGRATION.md | 2 +- Makefile | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index a868ecc2..543b0729 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -1,7 +1,8 @@ name: Release ✈️ on: - push: + pull_request: + types: [ closed ] branches: - main @@ -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 diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 2cd81991..e9ddad17 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,4 @@ -## [1.0.0] - July 18th 2022 +## [1.0.0] - July 25th 2022 * Auto publishing via CI * Auto labeling via CI diff --git a/MIGRATION.md b/MIGRATION.md index 23aacbe9..31f6e12a 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -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. diff --git a/Makefile b/Makefile index 2f185ec1..73292642 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -BUMP ?= empty +BUMP ?= patch .PHONY: all build clean dependencies coverage format lint local publish test version