Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
6379fe0b
Unverified
Commit
6379fe0b
authored
Jan 30, 2018
by
Ian Hickson
Committed by
GitHub
Jan 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release script should tag with vX.Y.Z (#14351)
parent
45e81140
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
roll_dev.dart
dev/tools/lib/roll_dev.dart
+3
-3
No files found.
dev/tools/lib/roll_dev.dart
View file @
6379fe0b
...
@@ -99,14 +99,14 @@ void main(List<String> args) {
...
@@ -99,14 +99,14 @@ void main(List<String> args) {
runGit
(
'fetch upstream'
,
'fetch upstream'
);
runGit
(
'fetch upstream'
,
'fetch upstream'
);
runGit
(
'reset upstream/master --hard'
,
'check out master branch'
);
runGit
(
'reset upstream/master --hard'
,
'check out master branch'
);
runGit
(
'tag
$version
'
,
'tag the commit with the version label'
);
runGit
(
'tag
v
$version
'
,
'tag the commit with the version label'
);
final
String
hash
=
getGitOutput
(
'rev-parse HEAD'
,
'Get git hash for
$version
tag'
);
final
String
hash
=
getGitOutput
(
'rev-parse HEAD'
,
'Get git hash for
$version
tag'
);
print
(
'Your tree is ready to publish Flutter
$version
(
${hash.substring(0, 10)}
) '
print
(
'Your tree is ready to publish Flutter
$version
(
${hash.substring(0, 10)}
) '
'to the "dev" channel.'
);
'to the "dev" channel.'
);
stdout
.
write
(
'Are you? [yes/no] '
);
stdout
.
write
(
'Are you? [yes/no] '
);
if
(
stdin
.
readLineSync
()
!=
'yes'
)
{
if
(
stdin
.
readLineSync
()
!=
'yes'
)
{
runGit
(
'tag -d
$version
'
,
'remove the tag you did not want to publish'
);
runGit
(
'tag -d
v
$version
'
,
'remove the tag you did not want to publish'
);
print
(
'The dev roll has been aborted.'
);
print
(
'The dev roll has been aborted.'
);
exit
(
0
);
exit
(
0
);
}
}
...
@@ -122,7 +122,7 @@ void main(List<String> args) {
...
@@ -122,7 +122,7 @@ void main(List<String> args) {
exit
(
0
);
exit
(
0
);
}
}
runGit
(
'push upstream
$version
'
,
'publish the version'
);
runGit
(
'push upstream
v
$version
'
,
'publish the version'
);
runGit
(
'push upstream HEAD:dev'
,
'land the new version on the "dev" branch'
);
runGit
(
'push upstream HEAD:dev'
,
'land the new version on the "dev" branch'
);
print
(
'Flutter version
$version
has been rolled to the "dev" channel!'
);
print
(
'Flutter version
$version
has been rolled to the "dev" channel!'
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment