Skip to content

Commit

Permalink
Improve build script
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode committed Jul 4, 2016
1 parent 749e0d6 commit c36063d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
ember build --env production
cp LICENSE dist/
cd dist
tar -cvzf ../webui-0.1.0.tar.gz . && cd ..

tag_value="$(git -C "${git_repo}" describe --abbrev=0 --tags HEAD)"
tar -cvzf ../webui-${tag_value}.tar.gz . && cd ..

0 comments on commit c36063d

Please sign in to comment.