Closed kawasin73 closed 5 years ago
normal
RUBY_VERSION=2.5.1 RAILS_VERSION=5.2.0 # on master branch git checkout -b base/ruby-$RUBY_VERSION-rails-$RAILS_VERSION # merge all commit into one git reset `git rev-list --max-parents=0 --abbrev-commit HEAD` && git add . && git commit --amend --no-edit --author="Kawamura Shintaro <kawasin73@gmail.com>" --date="`date -R`" git push -u origin base/ruby-$RUBY_VERSION-rails-$RAILS_VERSION git checkout -b ruby-$RUBY_VERSION-rails-$RAILS_VERSION script/init && script/bootstrap && rm config/credentials.yml.enc config/master.key git add . git commit -m "Exec script/init && script/bootstrap && rm config/credentials.yml.enc config/master.key" git push -u origin ruby-$RUBY_VERSION-rails-$RAILS_VERSION docker-compose down -v
RUBY_VERSION=2.5.1 RAILS_VERSION=5.2.1 git checkout master \ && git checkout -b base/ruby-$RUBY_VERSION-rails-$RAILS_VERSION \ && git reset `git rev-list --max-parents=0 --abbrev-commit HEAD` && git add . && git commit --amend --no-edit --author="Kawamura Shintaro <kawasin73@gmail.com>" --date="`date -R`" \ && git push -u origin base/ruby-$RUBY_VERSION-rails-$RAILS_VERSION \ && git checkout -b ruby-$RUBY_VERSION-rails-$RAILS_VERSION \ && script/init && script/bootstrap && rm config/credentials.yml.enc config/master.key \ && git add . \ && git commit -m "Exec script/init && script/bootstrap && rm config/credentials.yml.enc config/master.key" \ && git push -u origin ruby-$RUBY_VERSION-rails-$RAILS_VERSION \ && docker-compose down -v \ && git checkout master \ && rm -rf log/ tmp/
webpacker
RUBY_VERSION=2.5.1 RAILS_VERSION=5.2.1 git checkout webpacker \ && git checkout -b base/ruby-$RUBY_VERSION-rails-$RAILS_VERSION-webpack \ && git reset `git rev-list --max-parents=0 --abbrev-commit HEAD` && git add . && git commit --amend --no-edit --author="Kawamura Shintaro <kawasin73@gmail.com>" --date="`date -R`" \ && git push -u origin base/ruby-$RUBY_VERSION-rails-$RAILS_VERSION-webpack \ && git checkout -b ruby-$RUBY_VERSION-rails-$RAILS_VERSION-webpack \ && script/init && script/bootstrap && rm config/credentials.yml.enc config/master.key \ && git add . \ && git commit -m "Exec script/init && script/bootstrap && rm config/credentials.yml.enc config/master.key" \ && git push -u origin ruby-$RUBY_VERSION-rails-$RAILS_VERSION-webpack \ && docker-compose down -v \ && git checkout master \ && rm -rf log/ tmp/ node_modules/
automated by #6
build & deploy script
normal
webpacker