Skip to content

Commit

Permalink
Try without the check
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanformio committed Apr 3, 2024
1 parent 1be3e87 commit fccf661
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ jobs:
with:
cmd: prepublish

- name: Show workspace contents
run: |
ls -R .
- name: Prepare version for publish
id: prep
run: |
Expand All @@ -139,12 +143,5 @@ jobs:
- name: Publish to npm
run: |
if ! git diff-index --quiet HEAD --; then
echo "Directory is not clean. Listing changes:"
git status
exit 1 # Optional: Fail the step explicitly to avoid proceeding
else
echo "Directory is clean. Proceeding with npm version and publish."
npm version $NEW_VERSION
npm publish --tag dev
fi
npm version $NEW_VERSION
npm publish --tag dev

0 comments on commit fccf661

Please sign in to comment.