From 25be08c004343ba8262a77d56fb0cd32a863d0ea Mon Sep 17 00:00:00 2001 From: Patrick Ruhkopf Date: Fri, 16 Feb 2024 17:33:36 -0500 Subject: [PATCH] fix: revert npm publish ci script --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a930841..ad5d928 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -98,13 +98,11 @@ jobs: git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY" HEAD:${{ steps.get-workspaces.outputs.branch }} --follow-tags npx auto release --use-version $NEW_TAG $FROM_PARAM --base-branch ${{ steps.get-workspaces.outputs.branch }} IS_PRIVATE=`node -pe "require('./package.json').private"` - rm -rf .git if [ "$IS_PRIVATE" != "true" ]; then - cd $topdir - echo "publishing $workspace/dist" - npm publish ./$workspace/dist + npm publish ./dist echo "::notice title=🚀 ${PCKG_NAME} v$NEW_VERSION_NO::Package versioned and published" fi + rm -rf .git else echo "::notice title=Versioning of $PCKG_NAME skipped::No relevant changes detected." exit 1