From d3021128a8498768a5bcbe58017fd1c91c5c1c5c Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Tue, 26 Sep 2023 12:56:05 +0300 Subject: [PATCH 1/4] =?UTF-8?q?ci:=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=BB=20release.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 63bf8e5..607db73 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,4 +34,4 @@ jobs: @semantic-release/changelog conventional-changelog-conventionalcommits env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} From d13ed00ff7678088346863e519dddb90e5de8f36 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 26 Sep 2023 09:56:40 +0000 Subject: [PATCH 2/4] chore(release): 1.0.0 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 1.0.0 (2023-09-26) ### Исправления * добавил обязательное окно, с обязательной гифкой ([#8](https://github.com/shizand/statapp/issues/8)) 04cdcd9, closes #6 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..de299fa --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,6 @@ +## 1.0.0 (2023-09-26) + + +### Исправления + +* добавил обязательное окно, с обязательной гифкой ([#8](https://github.com/shizand/statapp/issues/8)) 04cdcd9, closes #6 From d04b2d3029967989387ca8933663596547b0013b Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Tue, 26 Sep 2023 13:17:20 +0300 Subject: [PATCH 3/4] =?UTF-8?q?ci:=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=BB=20release.yml=20(#11)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 1 + .releaserc.json | 14 ++++++++++---- scripts/version | 3 +++ 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100755 scripts/version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 607db73..0fd977c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,5 +33,6 @@ jobs: @semantic-release/git @semantic-release/changelog conventional-changelog-conventionalcommits + semantic-release-github-pullrequest env: GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} diff --git a/.releaserc.json b/.releaserc.json index 684308f..591a4a7 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -50,14 +50,20 @@ } ], [ - "@semantic-release/git", + "@semantic-release/exec", { + "prepareCmd": "./scripts/version ${nextRelease.version}", + } + ], + [ + "semantic-release-github-pullrequest", { "assets": [ "CHANGELOG.md", - "pyproject.toml" + "pyproject.toml", + "poetry.lock" ], - "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + "baseRef": "main" } ] ] -} \ No newline at end of file +} diff --git a/scripts/version b/scripts/version new file mode 100755 index 0000000..6a6e7f1 --- /dev/null +++ b/scripts/version @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +poetry version "$@" From 046b7586e17d274320796a9cbcb387c4aba64e0d Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Tue, 26 Sep 2023 13:19:17 +0300 Subject: [PATCH 4/4] =?UTF-8?q?ci:=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=BB=20.releaserc.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .releaserc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.releaserc.json b/.releaserc.json index 591a4a7..fa4b4e6 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -52,7 +52,7 @@ [ "@semantic-release/exec", { - "prepareCmd": "./scripts/version ${nextRelease.version}", + "prepareCmd": "./scripts/version ${nextRelease.version}" } ], [