diff --git a/.gitignore b/.gitignore index 82078778..737dad19 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,9 @@ -build/ .DS_Store node_modules/ npm* src/compression/ test/lib/ dist/ -dist/*.tgz -dist/*_debug.js openpgp.store/ doc/ browserify-cache*.json diff --git a/release.sh b/release.sh index 4bd51231..4786e3fb 100755 --- a/release.sh +++ b/release.sh @@ -24,10 +24,8 @@ npm run build grunt test # Add build files to git -sed -i "" '/^dist\/$/d' .gitignore -git add dist/ bower.json npm-shrinkwrap.json package.json +git add --force dist/ bower.json npm-shrinkwrap.json package.json git commit -m "Release new version" -git checkout .gitignore git tag v$1 git push git push --tag