Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions script/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ function try {

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

branch_name="$1"
commit="$(git rev-parse --short HEAD)"

perl -pi -e "s/development/$branch_name $commit/" version.h

try autoconf
try ./configure --prefix=/data/ruby --disable-install-doc
try make -j 4
Expand Down
3 changes: 1 addition & 2 deletions version.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"ruby "RUBY_VERSION \
RUBY_PATCHLEVEL_STR \
"-tcs-github" \
" ("RUBY_RELEASE_DATE \
RUBY_REVISION_STR") " \
" (development) " \
"["RUBY_PLATFORM"]"
# define RUBY_COPYRIGHT \
"ruby - Copyright (C) " \
Expand Down