From edd5800c91a4678384e0cdb81e20e5420fb869ac Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 14 Nov 2023 16:04:35 -0600 Subject: [PATCH] no master --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f523106c..e50a30615 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,13 +13,13 @@ jobs: uses: ./.github/workflows/tests.yml publish: - # if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/master' needs: [tests] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - # with: - # ref: 'master' + with: + ref: 'master' - uses: ./.github/actions/dependencies with: root: false @@ -34,7 +34,7 @@ jobs: cd packages/styles PACKAGE_VERSION="$(npm pkg get version | tr -d \")" npm version "$PACKAGE_VERSION-canary.${GITHUB_SHA:0:8}" --allow-same-version --no-git-tag-version - npm publish --tag=next --dry-run + npm publish --tag=next env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish @deque/cauldron-react @@ -42,7 +42,7 @@ jobs: cd packages/react PACKAGE_VERSION="$(npm pkg get version | tr -d \")" npm version "$PACKAGE_VERSION-canary.${GITHUB_SHA:0:8}" --allow-same-version --no-git-tag-version - npm publish --tag=next --dry-run + npm publish --tag=next env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}