From c59f9d7983dbb13cc3a72c1e3607126b7f32f21a Mon Sep 17 00:00:00 2001 From: Platon Floria Date: Thu, 25 Apr 2024 21:10:02 +0800 Subject: [PATCH] chore: update ci --- .github/workflows/release-and-pypi-publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-and-pypi-publish.yml b/.github/workflows/release-and-pypi-publish.yml index 269a6b118..5e93750ff 100644 --- a/.github/workflows/release-and-pypi-publish.yml +++ b/.github/workflows/release-and-pypi-publish.yml @@ -78,15 +78,16 @@ jobs: WEB3_ALCHEMY_PROJECT_ID: '${{ secrets.WEB3_ALCHEMY_PROJECT_ID }}' ETHERSCAN_TOKEN: '${{ secrets.ETHERSCAN_TOKEN }}' - - name: Bump version and set output + - name: Bump version, update requirements.txt and set output if: steps.check.outputs.skip != 'true' id: bump_version_and_set_output run: | poetry version patch + poetry export --without-hashes --format=requirements.txt > requirements.txt git checkout main git config --local user.email "action@github.com" git config --local user.name "GitHub Action" - git add fastlane_bot/__init__.py + git add pyproject.toml requirements.txt git commit -m "Bump version [skip ci]" - name: Generate changelog