Skip to content

Commit

Permalink
Final release script change :)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonny-improbable committed May 26, 2018
1 parent 985543f commit e95514a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.7.2
## 0.7.3

### Changes
* None (testing release script...)
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.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-protoc-gen",
"version": "0.7.3-pre",
"version": "0.7.3",
"description": "Protoc Plugin for TypeScript Declarations and Service Definitions",
"scripts": {
"lint": "tslint -c tslint.json 'test/**/*.ts' 'src/**/*.ts'",
Expand Down
6 changes: 5 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,9 @@ npm version patch
BUMPED_PKG_VERSION=$(node -p "require('./package.json').version + '-pre'");
npm version ${BUMPED_PKG_VERSION}

echo -e "## ${BUMPED_PKG_VERSION}\n" | cat - CHANGELOG.md > tmp.md
mv tmp.md CHANGELOG.md

git reset --soft HEAD~2 &&
git commit "Bumped to v${BUMPED_PKG_VERSION}"
git commit -m "Bumped to v${BUMPED_PKG_VERSION}"
git push origin master

0 comments on commit e95514a

Please sign in to comment.