File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ fn main() {
40
40
"clone" ,
41
41
"git@github.com:getsentry/tempest.git" ,
42
42
& temp_dir_str,
43
+ & format ! ( "--revision={}" , version) ,
44
+ "--depth=1" ,
43
45
] )
44
46
. status ( )
45
47
. map ( |x| x. success ( ) )
@@ -50,17 +52,13 @@ fn main() {
50
52
"clone" ,
51
53
"https://github.com/getsentry/tempest.git" ,
52
54
& temp_dir_str,
55
+ & format ! ( "--revision={}" , version) ,
56
+ "--depth=1" ,
53
57
] )
54
58
. status ( )
55
- . expect ( "Failed to clone tempest repository " ) ;
59
+ . expect ( "Failed to clone tempest revision " ) ;
56
60
}
57
61
58
- Command :: new ( "git" )
59
- . args ( [ "checkout" , & version] )
60
- . current_dir ( temp_dir_path)
61
- . status ( )
62
- . expect ( "Failed to checkout branch" ) ;
63
-
64
62
CopyBuilder :: new ( temp_dir_path. join ( "crates/prosperoconv/src" ) , "src" )
65
63
. overwrite ( true )
66
64
. run ( )
You can’t perform that action at this time.
0 commit comments