Skip to content

Commit

Permalink
chore: move changelog to repo root
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Sep 5, 2018
1 parent 0b712eb commit 6486d12
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 6486d12

Please sign in to comment.