Skip to content

Instantly share code, notes, and snippets.

@kevindew
Created March 2, 2018 14:35
Show Gist options
  • Save kevindew/df1a400629c1fa7a654a181b59737df4 to your computer and use it in GitHub Desktop.
Save kevindew/df1a400629c1fa7a654a181b59737df4 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
git checkout master
git pull --ff-only
git checkout dependabot/bundler/govuk_app_config-1.3.2
sed -i '' 's/"govuk_app_config"/"govuk_app_config\/govuk_unicorn"/g' config/unicorn.rb
git add config/unicorn.rb
git commit -m "Update config/unicorn for govuk-app-config 1.3.2" -m "In accordance with the upgrade instructions for 1.3.2 release of govuk_app_config. Note: this commit was done by an automated script."
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment