mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-07 04:08:43 +00:00
Un-ignore dist directory on releases for the sake of bower
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user