Skip to content

Commit

Permalink
no master
Browse files Browse the repository at this point in the history
  • Loading branch information
scurker committed Nov 14, 2023
1 parent ccdc4d0 commit edd5800
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -34,15 +34,15 @@ 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
run: |
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 }}

Expand Down

0 comments on commit edd5800

Please sign in to comment.