Un-ignore dist directory on releases for the sake of bower
This commit is contained in:
parent
549104c5a8
commit
840771c643
|
@ -32,8 +32,13 @@ fi
|
||||||
git checkout master
|
git checkout master
|
||||||
git pull
|
git pull
|
||||||
git checkout --detach
|
git checkout --detach
|
||||||
|
|
||||||
|
# Build generated files and add them to the repository (for bower)
|
||||||
|
git clean -fdx build dist
|
||||||
make setup 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
|
# 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
|
# http://stackoverflow.com/a/22084103 for why we need the .bak file to make
|
||||||
|
|
Loading…
Reference in New Issue
Block a user