Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: tools/push-to-trunk.sh

Issue 23723003: Move version macros to public V8 header. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/merge-to-branch.sh ('k') | tools/v8-info.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/push-to-trunk.sh
diff --git a/tools/push-to-trunk.sh b/tools/push-to-trunk.sh
index 8512d128778d4cad7b26d6c5c5b7bc44f70a7341..a8c171cfdb59677d24aac6a1beffbd3353ff74fa 100755
--- a/tools/push-to-trunk.sh
+++ b/tools/push-to-trunk.sh
@@ -171,11 +171,11 @@ if [ $START_STEP -le $CURRENT_STEP ] ; then
echo ">>> Step $CURRENT_STEP: Increment version number."
restore_if_unset "BUILD"
NEWBUILD=$(($BUILD + 1))
- confirm "Automatically increment BUILD_NUMBER? (Saying 'n' will fire up \
+ confirm "Automatically increment V8_BUILD_NUMBER? (Saying 'n' will fire up \
your EDITOR on $VERSION_FILE so you can make arbitrary changes. When \
you're done, save the file and exit your EDITOR.)"
if [ $? -eq 0 ] ; then
- sed -e "/#define BUILD_NUMBER/s/[0-9]*$/$NEWBUILD/" \
+ sed -e "/#define V8_BUILD_NUMBER/s/[0-9]*$/$NEWBUILD/" \
-i "$VERSION_FILE"
else
$EDITOR "$VERSION_FILE"
@@ -275,11 +275,11 @@ let CURRENT_STEP+=1
if [ $START_STEP -le $CURRENT_STEP ] ; then
echo ">>> Step $CURRENT_STEP: Set correct version for trunk."
restore_version_if_unset
- sed -e "/#define MAJOR_VERSION/s/[0-9]*$/$MAJOR/" \
- -e "/#define MINOR_VERSION/s/[0-9]*$/$MINOR/" \
- -e "/#define BUILD_NUMBER/s/[0-9]*$/$BUILD/" \
- -e "/#define PATCH_LEVEL/s/[0-9]*$/0/" \
- -e "/#define IS_CANDIDATE_VERSION/s/[0-9]*$/0/" \
+ sed -e "/#define V8_MAJOR_VERSION/s/[0-9]*$/$MAJOR/" \
+ -e "/#define V8_MINOR_VERSION/s/[0-9]*$/$MINOR/" \
+ -e "/#define V8_BUILD_NUMBER/s/[0-9]*$/$BUILD/" \
+ -e "/#define V8_PATCH_LEVEL/s/[0-9]*$/0/" \
+ -e "/#define V8_CANDIDATE_VERSION/s/[0-9]*$/0/" \
-i "$VERSION_FILE" || die "Patching $VERSION_FILE failed."
fi
« no previous file with comments | « tools/merge-to-branch.sh ('k') | tools/v8-info.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698