From 0cc5214c1627698583fe81105812f135a90353a8 Mon Sep 17 00:00:00 2001 From: semantic-release Date: Thu, 28 Jan 2021 17:22:27 -0800 Subject: [PATCH 1/7] "New release for 3.3.1" Automatically generated by python-semantic-release --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 16c089511..5643fe3cb 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ def build_js() -> None: with open(requirements_path) as requirements_file: requirements = requirements_file.readlines() -__version__ = '3.3.0' +__version__ = '3.3.1' setup( From dfff270dab3f01edc43dfbf2bed16f8aa8e1d076 Mon Sep 17 00:00:00 2001 From: Allison Suarez Miranda Date: Thu, 28 Jan 2021 17:26:16 -0800 Subject: [PATCH 2/7] trying to preserve format of changelog Signed-off-by: Allison Suarez Miranda --- .github/workflows/monthly_release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/monthly_release.yml b/.github/workflows/monthly_release.yml index d7f14575a..5d0e343e0 100644 --- a/.github/workflows/monthly_release.yml +++ b/.github/workflows/monthly_release.yml @@ -30,15 +30,17 @@ jobs: git config user.email github-actions@github.com semantic-release version echo ::set-output name=version::$(semantic-release print-version --current) - echo ::set-output name=difflog::$(semantic-release changelog) + echo ::set-output name=difflog::"$(semantic-release changelog)" - name: Create release pull request uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: Bumped version to ${{ steps.semantic-release.outputs.version }} - title: Bumped version for release ${{ steps.semantic-release.outputs.version }} author: github-actions - body: ${{ steps.semantic-release.outputs.difflog }} + title: Bumped version for release ${{ steps.semantic-release.outputs.version }} + body: | + Bumped version to ${{ steps.semantic-release.outputs.version }} + ${{ steps.semantic-release.outputs.difflog }} team-reviewers: amundsen-io/amundsen-committers branch: ${{ env.BRANCH_NAME }} delete-branch: true From ad81d0fd53924dc1a9f72de58117424c1b2b288f Mon Sep 17 00:00:00 2001 From: Allison Suarez Miranda Date: Thu, 28 Jan 2021 17:27:57 -0800 Subject: [PATCH 3/7] revent v bump Signed-off-by: Allison Suarez Miranda --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5643fe3cb..16c089511 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ def build_js() -> None: with open(requirements_path) as requirements_file: requirements = requirements_file.readlines() -__version__ = '3.3.1' +__version__ = '3.3.0' setup( From 4f29abafa156105de17dd5d6ec22ab54c3b351c5 Mon Sep 17 00:00:00 2001 From: Allison Suarez Miranda Date: Mon, 1 Feb 2021 11:54:26 -0800 Subject: [PATCH 4/7] added changelog file to persist through actions Signed-off-by: Allison Suarez Miranda --- .github/workflows/monthly_release.yml | 1 + .github/workflows/publish_release.yml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/monthly_release.yml b/.github/workflows/monthly_release.yml index 5d0e343e0..adb70ed17 100644 --- a/.github/workflows/monthly_release.yml +++ b/.github/workflows/monthly_release.yml @@ -30,6 +30,7 @@ jobs: git config user.email github-actions@github.com semantic-release version echo ::set-output name=version::$(semantic-release print-version --current) + echo semantic-release changelog > './CHANGELOG.md' echo ::set-output name=difflog::"$(semantic-release changelog)" - name: Create release pull request uses: peter-evans/create-pull-request@v3 diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index a90830785..f4c6e5a94 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -7,6 +7,7 @@ on: paths: # triggered when version is bumped - "setup.py" + - "CHANGELOG.md" jobs: release: runs-on: ubuntu-latest @@ -29,7 +30,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ steps.vers.outputs.version }} - release_name: New features & Bug Fixes + release_name: New Features & Bug Fixes + body_path: ./CHANGELOG.md - name: Add wheel dependency run: pip install wheel - name: Generate dist From 4a2dd72e0369f1d63da1496a83b25fc7b20d3957 Mon Sep 17 00:00:00 2001 From: Allison Suarez Miranda Date: Mon, 1 Feb 2021 11:58:33 -0800 Subject: [PATCH 5/7] removed changelog call from PR creations tep Signed-off-by: Allison Suarez Miranda --- .github/workflows/monthly_release.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/monthly_release.yml b/.github/workflows/monthly_release.yml index adb70ed17..36b451585 100644 --- a/.github/workflows/monthly_release.yml +++ b/.github/workflows/monthly_release.yml @@ -41,7 +41,6 @@ jobs: title: Bumped version for release ${{ steps.semantic-release.outputs.version }} body: | Bumped version to ${{ steps.semantic-release.outputs.version }} - ${{ steps.semantic-release.outputs.difflog }} team-reviewers: amundsen-io/amundsen-committers branch: ${{ env.BRANCH_NAME }} delete-branch: true From 121ac0933343c06cd08e9f767400ec1097fc16ea Mon Sep 17 00:00:00 2001 From: Allison Suarez Miranda Date: Mon, 1 Feb 2021 11:59:27 -0800 Subject: [PATCH 6/7] removed unnnecesary variable Signed-off-by: Allison Suarez Miranda --- .github/workflows/monthly_release.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/monthly_release.yml b/.github/workflows/monthly_release.yml index 36b451585..340964347 100644 --- a/.github/workflows/monthly_release.yml +++ b/.github/workflows/monthly_release.yml @@ -31,7 +31,6 @@ jobs: semantic-release version echo ::set-output name=version::$(semantic-release print-version --current) echo semantic-release changelog > './CHANGELOG.md' - echo ::set-output name=difflog::"$(semantic-release changelog)" - name: Create release pull request uses: peter-evans/create-pull-request@v3 with: From c2d21067b08c0a2cd6a6652fd3280b11ae527620 Mon Sep 17 00:00:00 2001 From: Allison Suarez Miranda Date: Mon, 1 Feb 2021 12:15:20 -0800 Subject: [PATCH 7/7] ssetup cron to run the first day of every month at 12am Signed-off-by: Allison Suarez Miranda --- .github/workflows/monthly_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/monthly_release.yml b/.github/workflows/monthly_release.yml index 340964347..383ca5719 100644 --- a/.github/workflows/monthly_release.yml +++ b/.github/workflows/monthly_release.yml @@ -2,7 +2,7 @@ name: Monthly Release on: schedule: - - cron: 15 20 19 * * + - cron: 0 0 1 * * workflow_dispatch: logLevel: description: "Log level"