diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c79b721dc85..8395ec65bca 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -33,7 +33,6 @@ jobs: # if there are changesets present, package.json will be bumped - name: Bump and Collect Versions run: | - echo "CURRENT_VERSION=v$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' packages/fuels/package.json)" >> $GITHUB_ENV pnpm changeset version echo "RELEASE_VERSION=v$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' packages/fuels/package.json)" >> $GITHUB_ENV echo "FUEL_CORE_VERSION=$(cat ./packages/fuel-core/VERSION)" >> $GITHUB_ENV @@ -62,7 +61,6 @@ jobs: - name: Create Release Pull Request or Publish to npm id: changesets - if: ${{ env.RELEASE_VERSION != env.CURRENT_VERSION }} uses: FuelLabs/changesets-action@main with: publish: pnpm changeset:publish ${{ env.RELEASE_VERSION }} ${{ github.ref_name }}