From 4a2c212dc952715434816f68113e9ee95d78e469 Mon Sep 17 00:00:00 2001 From: dskvr Date: Tue, 10 Sep 2024 12:59:53 +0200 Subject: [PATCH] remove --since in changeset --- .github/workflows/publish-package.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index bdcd4f9e..d6355a22 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -18,6 +18,8 @@ jobs: should_publish: ${{ steps.publish_check.outputs.should_publish }} steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup Node.js uses: actions/setup-node@v4 @@ -31,7 +33,7 @@ jobs: id: publish_check run: | # Check if there are changesets that need version bumping - if yarn changeset status --since="${{ github.ref_name }}"; then + if yarn changeset status; then echo "should_publish=true" >> "$GITHUB_OUTPUT" else echo "should_publish=false" >> "$GITHUB_OUTPUT" @@ -39,8 +41,7 @@ jobs: - name: Version Packages with Changeset if: steps.publish_check.outputs.should_publish == 'true' - run: | - yarn changeset version + run: yarn changeset version - name: Commit Version Changes if: steps.publish_check.outputs.should_publish == 'true'