From 7f8f1d30d1c58a2d16b7b1a2bb65cf7365676331 Mon Sep 17 00:00:00 2001 From: Liz Gehret Date: Wed, 11 Dec 2024 12:16:32 -0700 Subject: [PATCH] just keep version as env var --- .github/workflows/lib-ci-dev.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lib-ci-dev.yaml b/.github/workflows/lib-ci-dev.yaml index 5bf8f74e..6bc0ee40 100644 --- a/.github/workflows/lib-ci-dev.yaml +++ b/.github/workflows/lib-ci-dev.yaml @@ -91,12 +91,12 @@ jobs: python -m pip install --upgrade pip pip install versioningit - # - name: 'Get plugin version and inject into pyproject.toml (Linux)' - # if: ${{ matrix.os == 'ubuntu-latest' }} - # run: | - # cd ${{ env.plugin_path }} - # PLUGIN_VERSION=$(python -m versioningit) - # echo "PLUGIN_VERSION=$PLUGIN_VERSION" >> $GITHUB_ENV + - name: 'Get plugin version and inject into pyproject.toml' + # if: ${{ matrix.os == 'ubuntu-latest' }} + run: | + cd ${{ env.plugin_path }} + PLUGIN_VERSION=$(python -m versioningit) + echo "PLUGIN_VERSION=$PLUGIN_VERSION" >> $GITHUB_ENV # sed -i "s/dynamic = \['version'\]/version = \"$PLUGIN_VERSION\"/" pyproject.toml # cat pyproject.toml