From a2c9e88d2aea4511810181f04d22c6d751beeb99 Mon Sep 17 00:00:00 2001 From: Tpt Date: Sun, 27 Feb 2022 19:39:02 +0100 Subject: [PATCH] Fixes release script --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e2dad6f..48d8340a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -191,7 +191,7 @@ jobs: token: ${{ secrets.FULL_ACCESS_TOKEN }} - run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV - run: rm -rf ./website/pyoxigraph/stable && mkdir -p ./website/pyoxigraph/stable && cp -r ./python/docs/build/html/* ./website/pyoxigraph/stable/ - if: !contains('-', github.event.release.tag_name) + if: ${{ !contains('-', github.event.release.tag_name) }} - run: mkdir -p ./website/pyoxigraph/$RELEASE_VERSION && cp -r ./python/docs/build/html/* ./website/pyoxigraph/$RELEASE_VERSION/ - run: | git config user.name github-actions @@ -218,7 +218,7 @@ jobs: oxigraph_${{ github.event.release.tag_name }}.tar.gz publish_homebrew: - if: !contains('-', github.event.release.tag_name) + if: ${{ !contains('-', github.event.release.tag_name) }} runs-on: ubuntu-latest needs: publish_full_archive steps: