Skip to content

Commit

Permalink
housekeeping: Fixing scaffolding build and publishing (#2994)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdslaugh authored Apr 30, 2024
1 parent 26a636f commit f507469
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tools/publish-frontend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ if yarn info "@clutch-sh/${PACKAGE}" | grep -q "$VERSION"; then
exit 0
fi

yarn npm publish --new-version="${VERSION}" --access public --no-git-tag-version
yarn version "${VERSION}"
yarn npm publish --access public
4 changes: 2 additions & 2 deletions tools/scaffolding/templates/gateway/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ frontend: yarn-install
.PHONY: yarn-install
yarn-install: yarn-ensure
ifneq ("$(wildcard frontend/yarn.lock)","")
cd frontend && $(YARN) install --immutable
$(YARN) --cwd frontend install --immutable
else
cd frontend && $(YARN) --cwd frontend install
$(YARN) --cwd frontend install
endif

.PHONY: yarn-ensure
Expand Down

0 comments on commit f507469

Please sign in to comment.