Fixes release script

pull/192/head
Tpt 3 years ago
parent 435faba04a
commit a2c9e88d2a
  1. 4
      .github/workflows/release.yml

@ -191,7 +191,7 @@ jobs:
token: ${{ secrets.FULL_ACCESS_TOKEN }} token: ${{ secrets.FULL_ACCESS_TOKEN }}
- run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV - 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/ - 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: mkdir -p ./website/pyoxigraph/$RELEASE_VERSION && cp -r ./python/docs/build/html/* ./website/pyoxigraph/$RELEASE_VERSION/
- run: | - run: |
git config user.name github-actions git config user.name github-actions
@ -218,7 +218,7 @@ jobs:
oxigraph_${{ github.event.release.tag_name }}.tar.gz oxigraph_${{ github.event.release.tag_name }}.tar.gz
publish_homebrew: publish_homebrew:
if: !contains('-', github.event.release.tag_name) if: ${{ !contains('-', github.event.release.tag_name) }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: publish_full_archive needs: publish_full_archive
steps: steps:

Loading…
Cancel
Save