diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f959350b..a5dfd4f5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,11 +17,7 @@ jobs: run: | sudo echo "127.0.0.1 local.aikido.io" | sudo tee -a /etc/hosts - name: Installation - run: make install - - name: Set the version for this release - run: | - TAG_NAME=${GITHUB_REF##*/} - make replace_version version=${TAG_NAME#v} + run: make dev_install - name: Run Pylint run: | poetry run pylint --fail-under=9 --rcfile=.pylintrc aikido_zen/ @@ -52,6 +48,10 @@ jobs: - uses: actions/checkout@v4 - name: Install poetry run: pip install poetry + - name: Set the version for this release + run: | + TAG_NAME=${GITHUB_REF##*/} + make replace_version version=${TAG_NAME#v} - name: Download binaries & build run: make build - name: Publish to PyPI diff --git a/.github/workflows/test-publish.yml b/.github/workflows/test-publish.yml index 9fcf24f3..30b7a7e3 100644 --- a/.github/workflows/test-publish.yml +++ b/.github/workflows/test-publish.yml @@ -18,11 +18,7 @@ jobs: run: | sudo echo "127.0.0.1 local.aikido.io" | sudo tee -a /etc/hosts - name: Installation - run: make install - - name: Set the version for this release - run: | - TAG_NAME=${GITHUB_REF##*/} - make replace_version version=${TAG_NAME#v} + run: make dev_install - name: Run Pylint run: | poetry run pylint --fail-under=9 --rcfile=.pylintrc aikido_zen/ @@ -53,6 +49,10 @@ jobs: - uses: actions/checkout@v4 - name: Install poetry run: pip install poetry + - name: Set the version for this release + run: | + TAG_NAME=${GITHUB_REF##*/} + make replace_version version=${TAG_NAME#dev-v} - name: Install dependencies run: poetry install - name: Download binaries & build