From a826dde2f5e3b5df5de81a45275f633ac46fb855 Mon Sep 17 00:00:00 2001 From: Vaibhav Gupta Date: Wed, 12 Jun 2024 07:54:58 -0700 Subject: [PATCH] update release script --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6de3d6d61..0924c3b05 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ name: BAML Runtime on: push: tags: + - "test-release/*.*" - "*.*" concurrency: @@ -196,6 +197,7 @@ jobs: publish-to-pypi: environment: release needs: [build-release, build-wasm] + if: ${{ !startsWith(github.ref, 'refs/tags/test-release') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -214,6 +216,7 @@ jobs: publish-to-npm: environment: release needs: [build-release, build-wasm] + if: ${{ !startsWith(github.ref, 'refs/tags/test-release') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -227,6 +230,7 @@ jobs: publish-vscode: environment: release needs: [build-release, build-wasm] + if: ${{ !startsWith(github.ref, 'refs/tags/test-release') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4