Skip to content

Commit

Permalink
Merge pull request #247 from garden-io/move-changelog
Browse files Browse the repository at this point in the history
chore: move changelog to repo root
  • Loading branch information
eysi09 authored Sep 10, 2018
2 parents 9ddb52c + 819a4ec commit 7f010f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
File renamed without changes.
13 changes: 4 additions & 9 deletions bin/publish
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,15 @@ cd ${garden_root}
lerna version --no-push
git reset HEAD~1

# TODO: set this up to work with multiple packages
cd garden-cli

../node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md --commit-path . -s
./node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md --commit-path . -s
git add CHANGELOG.md
version=$(node -p "require('./package.json').version")
version=$(node -p "require('./lerna.json').version")
git commit -m "chore(release): release ${version}"

npm publish

cd ..

git push --tags --no-verify
git push --no-verify

# TODO: set this up to work with multiple packages
cd garden-cli
npm publish
gulp update-brew

0 comments on commit 7f010f9

Please sign in to comment.