From 1f650f6725e7f942430cdb388d7c0fbdd1615a89 Mon Sep 17 00:00:00 2001 From: Snobbish Bee <125891987+snobbee@users.noreply.github.com> Date: Sun, 10 Dec 2023 05:50:16 +0100 Subject: [PATCH] ci: enable publish release (#268) --- .github/workflows/release.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 532e79cd..844273c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,16 +24,15 @@ jobs: - run: pnpm install - run: pnpm turbo run build --filter="./packages/*" - # Only create snapshot for now, re-enable once the dex is released - # - name: Create PR or Publish release - # uses: changesets/action@v1 - # id: changesets - # with: - # commit: "chore: update versions" - # title: "chore: update versions" - # publish: pnpm changeset publish - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Create PR or Publish release + uses: changesets/action@v1 + id: changesets + with: + commit: "chore: update versions" + title: "chore: update versions" + publish: pnpm changeset publish + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set snapshot version run: pnpm -r exec npm version 0.0.0-snapshot.$(git rev-parse --short HEAD) --git-tag-version=false