www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 840771c6437fdb2ec79886bb4d8536198162c48b
parent 549104c5a8b9adda09d6fe080b721237c8186e05
Author: Martin von Gagern <gagern@ma.tum.de>
Date:   Mon,  9 Jan 2017 22:22:30 +0100

Un-ignore dist directory on releases for the sake of bower

Diffstat:
Mrelease.sh | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/release.sh b/release.sh @@ -32,8 +32,13 @@ fi git checkout master git pull git checkout --detach + +# Build generated files and add them to the repository (for bower) +git clean -fdx build dist make setup dist -git add dist/ +sed -i.bak -E '/^\/dist\/$/d' .gitignore +rm -f .gitignore.bak +git add .gitignore dist/ # Edit package.json and bower.json to the right version (see # http://stackoverflow.com/a/22084103 for why we need the .bak file to make