Skip to content

Commit 5b6ea9f

Browse files
committed
Auto merge of #3837 - Turbo87:ops-guide, r=jtgeibel
Add `create-diff-link.sh` script Replacement for #3835 and symbiotic with https://github.com/rust-lang/crates-io-ops-guide/pull/4 :)
2 parents dc29455 + b7de0c1 commit 5b6ea9f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

script/create-diff-link.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
echo "fetching updates from production app…"
6+
git fetch heroku-prod
7+
8+
prod_sha=`git rev-parse --short heroku-prod/master`
9+
master_sha=`git rev-parse --short master`
10+
11+
echo ""
12+
echo "production app is at: ${prod_sha}"
13+
echo "local \`master\` branch is at: ${master_sha}"
14+
echo ""
15+
echo "https://github.com/rust-lang/crates.io/compare/${prod_sha}...${master_sha}"

0 commit comments

Comments
 (0)