From c26d2f7f837cd73ad90d6a1e3b930e4ca84ddf38 Mon Sep 17 00:00:00 2001 From: Nejc Habjan Date: Tue, 17 Oct 2023 18:21:08 +0200 Subject: [PATCH] chore(ci): follow upstream config for release build_command --- .github/workflows/release.yml | 3 --- pyproject.toml | 5 ++++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3d4b13230..29c39ae07 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,9 +19,6 @@ jobs: fetch-depth: 0 token: ${{ secrets.RELEASE_GITHUB_TOKEN }} - - name: Install build dependency - run: pip install build - - name: Python Semantic Release uses: python-semantic-release/python-semantic-release@v8.1.2 with: diff --git a/pyproject.toml b/pyproject.toml index 17e249551..f5e9c26a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,7 +88,10 @@ disable_error_code = ["no-untyped-def"] [tool.semantic_release] branch = "main" -build_command = "python -m build ." +build_command = """ + python -m pip install build~=0.10.0 + python -m build . +""" version_variables = [ "gitlab/_version.py:__version__", ]