Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Commit

Permalink
chore: fix publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrutjes committed Jun 23, 2017
1 parent af70dee commit ded5b68
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

set -eu

readonly PACKAGE_VERSION=$(< package.json grep version \
| head -1 \
| awk -F: '{ print $2 }' \
| sed 's/[",]//g' \
| tr -d '[:space:]')

git tag "v$PACKAGE_VERSION"
git push --tags

Expand Down

0 comments on commit ded5b68

Please sign in to comment.