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

This commit is contained in:
Martin von Gagern 2017-01-09 22:22:30 +01:00
parent 549104c5a8
commit 840771c643

View File

@ -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