8000 put branch name and commit sha in -v output · github/ruby@b7fd1f9 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b7fd1f9

Browse files
author
Charlie Somerville
committed
put branch name and commit sha in -v output
1 parent e8bd0d7 commit b7fd1f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

script/deploy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ function try {
1111

1212
cd "$(dirname "$0")/.."
1313

14+
branch_name="$1"
15+
commit="$(git rev-parse --short HEAD)"
16+
17+
sed -i '' -e "s/development/$branch_name $commit/" version.h
18+
1419
try autoconf
1520
try ./configure --prefix=/data/ruby --disable-install-doc
1621
try make -j 4

0 commit comments

Comments
 (0)
0