File tree Expand file tree Collapse file tree
react-components/tools/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 rm -rf ../../bin ../../landing ../../lib ../../vendor
5050 rm ../../.babelrc ../../.eslintrc ../../.gitignore ../../Gruntfile.js ../../gulpfile.js ../../README.md ../../app.json ../../bower.json ../../component.json ../../index.js ../../index.styl ../../lerna.json ../../package.json ../../webpack.config.js
5151
52- # # Add build dir to git and remove packages folder
52+ # # Add build dir to git ( remove build from .gitignore)
5353 grep -v ' ^build$' .gitignore > .gitignore2
5454 mv .gitignore2 .gitignore
5555
6060
6161 echo packages >> .gitignore
6262
63- # # Commit changes
63+ # # Commit changes and update git stage with changes on the .gitignore file
6464 git rm -r --cached .
6565 git add .
66- git add --force build/*
6766 git commit -am " $NEXT_VERSION build"
6867
6968 # # Create git tags
Original file line number Diff line number Diff line change 4949 rm -rf ../../bin ../../landing ../../lib ../../vendor
5050 rm ../../.babelrc ../../.eslintrc ../../.gitignore ../../Gruntfile.js ../../gulpfile.js ../../README.md ../../app.json ../../bower.json ../../component.json ../../index.js ../../index.styl ../../lerna.json ../../package.json ../../webpack.config.js
5151
52- # # Add build dir to git and remove packages folder
52+ # # Add build dir to git ( remove build from .gitignore)
5353 grep -v ' ^build$' .gitignore > .gitignore2
5454 mv .gitignore2 .gitignore
5555
6060
6161 echo packages >> .gitignore
6262
63- # # Commit changes
63+ # # Commit changes and update git stage with changes on the .gitignore file
6464 git rm -r --cached .
6565 git add .
66- git add --force build/*
6766 git commit -am " $NEXT_VERSION build"
6867
6968 # # Create git tags
You can’t perform that action at this time.
0 commit comments