Skip to content

Commit

Permalink
Merge pull request #14 from restfulhead/fix-ci-cd
Browse files Browse the repository at this point in the history
fix: revert npm publish ci script
  • Loading branch information
restfulhead authored Feb 16, 2024
2 parents ae6dd05 + 25be08c commit b6551d3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,11 @@ jobs:
git push "https://$GITHUB_ACTOR:[email protected]/$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
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions packages/filter-by-workspace-path/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# v0.2.0 (Fri Feb 16 2024)

#### 🚀 Enhancement

- feat: set version to 'noVersion' if no commits are in scope [#11](https://github.com/restfulhead/npm-auto-plugins/pull/11) ([@restfulhead](https://github.com/restfulhead))

#### 🐛 Patch

- fix: missing version in changelog file [#12](https://github.com/restfulhead/npm-auto-plugins/pull/12) ([@restfulhead](https://github.com/restfulhead))

#### Authors: 1

- Patrick Ruhkopf ([@restfulhead](https://github.com/restfulhead))

---

# v0.1.0 (Fri Feb 16 2024)

#### 🚀 Enhancement
Expand Down
2 changes: 1 addition & 1 deletion packages/filter-by-workspace-path/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@restfulhead/auto-plugin-filter-by-workspace-path",
"version": "0.1.0",
"version": "0.2.0",
"description": "A plugin for Intuit Auto that filters out commits based on the NPM workspace path",
"keywords": [
"auto",
Expand Down

0 comments on commit b6551d3

Please sign in to comment.