Skip to content

Commit

Permalink
ci: revert Capture New Release Version action to check if resolve non…
Browse files Browse the repository at this point in the history
… publishing on changeset
  • Loading branch information
elcoosp committed Nov 25, 2024
1 parent 2bc0af7 commit 296aa6a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@ jobs:

- name: Test
run: pnpm test
- name: Capture New Release Version
run: |
pnpm changeset status --output=release.json
echo "NEW_VERSION=$(jq -r '.releases[0].newVersion' release.json)" >> "$GITHUB_ENV"
echo "PKG_NAME=$(jq -r '.releases[0].name' release.json)" >> "$GITHUB_ENV"
rm release.json
# - name: Capture New Release Version
# run: |
# pnpm changeset status --output=release.json
# echo "NEW_VERSION=$(jq -r '.releases[0].newVersion' release.json)" >> "$GITHUB_ENV"
# echo "PKG_NAME=$(jq -r '.releases[0].name' release.json)" >> "$GITHUB_ENV"
# rm release.json
- name: Release
id: changesets
uses: changesets/action@v1
with:
title: "chore: release ${{ env.PKG_NAME }}@${{ env.NEW_VERSION }}"
commit: ""
# title: "chore: release ${{ env.PKG_NAME }}@${{ env.NEW_VERSION }}"
# commit: ""
publish: pnpm publish-packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 296aa6a

Please sign in to comment.