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

Side by Side Diff: tools/release/test_scripts.py

Issue 1887583002: [release] Let release script fix missing tags. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « tools/release/create_release.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2013 the V8 project authors. All rights reserved. 2 # Copyright 2013 the V8 project authors. All rights reserved.
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following 10 # copyright notice, this list of conditions and the following
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 Cmd("git log -1 --format=%an rev1", "author1@chromium.org\n"), 963 Cmd("git log -1 --format=%an rev1", "author1@chromium.org\n"),
964 Cmd("git reset --hard origin/master", ""), 964 Cmd("git reset --hard origin/master", ""),
965 Cmd("git checkout -b work-branch push_hash", ""), 965 Cmd("git checkout -b work-branch push_hash", ""),
966 Cmd("git checkout -f 3.22.4 -- ChangeLog", "", cb=ResetChangeLog), 966 Cmd("git checkout -f 3.22.4 -- ChangeLog", "", cb=ResetChangeLog),
967 Cmd("git checkout -f 3.22.4 -- include/v8-version.h", "", 967 Cmd("git checkout -f 3.22.4 -- include/v8-version.h", "",
968 cb=self.WriteFakeVersionFile), 968 cb=self.WriteFakeVersionFile),
969 Cmd("git checkout -f 3.22.4 -- WATCHLISTS", "", 969 Cmd("git checkout -f 3.22.4 -- WATCHLISTS", "",
970 cb=self.WriteFakeWatchlistsFile), 970 cb=self.WriteFakeWatchlistsFile),
971 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], "", 971 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], "",
972 cb=CheckVersionCommit), 972 cb=CheckVersionCommit),
973 Cmd("git log -1 --format=%H --grep=\"Version 3.22.5\" origin/3.22.5",
974 ""),
973 Cmd("git push origin " 975 Cmd("git push origin "
974 "refs/heads/work-branch:refs/pending/heads/3.22.5 " 976 "refs/heads/work-branch:refs/pending/heads/3.22.5 "
975 "push_hash:refs/pending-tags/heads/3.22.5 " 977 "push_hash:refs/pending-tags/heads/3.22.5 "
976 "push_hash:refs/heads/3.22.5", ""), 978 "push_hash:refs/heads/3.22.5", ""),
977 Cmd("git fetch", ""), 979 Cmd("git fetch", ""),
978 Cmd("git log -1 --format=%H --grep=" 980 Cmd("git log -1 --format=%H --grep="
979 "\"Version 3.22.5\" origin/3.22.5", "hsh_to_tag"), 981 "\"Version 3.22.5\" origin/3.22.5", "hsh_to_tag"),
980 Cmd("git tag 3.22.5 hsh_to_tag", ""), 982 Cmd("git tag 3.22.5 hsh_to_tag", ""),
981 Cmd("git push origin 3.22.5", ""), 983 Cmd("git push origin 3.22.5", ""),
982 Cmd("git checkout -f origin/master", ""), 984 Cmd("git checkout -f origin/master", ""),
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
1571 1573
1572 Review URL: https://codereview.chromium.org/83173002 1574 Review URL: https://codereview.chromium.org/83173002
1573 1575
1574 ------------------------------------------------------------------------""") 1576 ------------------------------------------------------------------------""")
1575 self.assertEquals( 1577 self.assertEquals(
1576 """Prepare push to trunk. Now working on version 3.23.11. 1578 """Prepare push to trunk. Now working on version 3.23.11.
1577 1579
1578 R=danno@chromium.org 1580 R=danno@chromium.org
1579 1581
1580 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) 1582 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body)
OLDNEW
« no previous file with comments | « tools/release/create_release.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698