Skip to content

Commit

Permalink
Confirm before deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
crdx committed Mar 25, 2024
1 parent 2f007c6 commit cea8d8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/pre-version
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
set -euo pipefail

read -rp "Press enter to deploy v$1"
sed -i "s/VERSION = .*/VERSION = '$1'/" lib/*/version.rb
bundle install
git add lib/*/version.rb Gemfile.lock
Expand Down

0 comments on commit cea8d8f

Please sign in to comment.