Skip to content

Commit c76c69a

Browse files
committed
Release v0.17.0
1 parent b0c489c commit c76c69a

File tree

4 files changed

+17
-16
lines changed

4 files changed

+17
-16
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.16.2
1+
v0.17.0

bin/release

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,17 @@ if [ -z "$version" ]; then
1010
exit 1
1111
fi
1212

13-
echo "$version" >VERSION
13+
# if version file is not up to date, update it
14+
if [ "$version" != "$(cat VERSION)" ]; then
15+
echo "Version file is not up to date. Updating it..."
16+
echo "$version" >VERSION
17+
18+
npm install
19+
bin/build
20+
git add VERSION package.json package-lock.json
21+
git commit -m "Release $version"
22+
fi
1423

15-
npm install
16-
bin/build
17-
git add VERSION package.json
18-
git commit -m "Release $version"
1924
git diff --exit-code
2025
git tag -m "" "v$(cat package.json | ruby -rjson -e 'puts JSON[$<.read][%{version}]')"
2126
git push --tags

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)