From 7e1f33b32d18e5a1eefb10423deb3e5de54d5021 Mon Sep 17 00:00:00 2001 From: Benoit Tremblay Date: Sun, 13 Aug 2023 22:15:01 -0400 Subject: [PATCH] Fix release (#369) --- .github/workflows/publish.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4d482c2..e43165c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,25 +36,33 @@ jobs: echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Update version for universal-cookie - run: yarn workspace universal-cookie version --no-git-tag-version --new-version ${VERSION} + working-directory: ./packages/universal-cookie + run: npm version --no-git-tag-version --new-version ${VERSION} - name: Publish universal-cookie to NPM - run: yarn workspace universal-cookie npm publish + working-directory: ./packages/universal-cookie + run: npm publish - name: Update version for react-cookie - run: yarn workspace react-cookie version --no-git-tag-version --new-version ${VERSION} + working-directory: ./packages/react-cookie + run: npm version --no-git-tag-version --new-version ${VERSION} - name: Publish react-cookie to NPM + working-directory: ./packages/react-cookie run: yarn workspace react-cookie npm publish - name: Update version for universal-cookie-express - run: yarn workspace universal-cookie-express version --no-git-tag-version --new-version ${VERSION} + working-directory: ./packages/universal-cookie-express + run: npm version --no-git-tag-version --new-version ${VERSION} - name: Publish universal-cookie-express to NPM + working-directory: ./packages/universal-cookie-express run: yarn workspace universal-cookie-express npm publish - name: Update version for universal-cookie-koa - run: yarn workspace universal-cookie-koa version --no-git-tag-version --new-version ${VERSION} + working-directory: ./packages/universal-cookie-koa + run: npm version --no-git-tag-version --new-version ${VERSION} - name: Publish universal-cookie-koa to NPM + working-directory: ./packages/universal-cookie-koa run: yarn workspace universal-cookie-koa npm publish