File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,9 @@ fn main() {
75
75
76
76
/// Check whether we should build the C API headers or set `inline-c` up.
77
77
fn running_self ( ) -> bool {
78
- env:: var ( "DOCS_RS" ) . is_err ( ) && env:: var ( "_CBINDGEN_IS_RUNNING" ) . is_err ( )
78
+ env:: var ( "DOCS_RS" ) . is_err ( )
79
+ && env:: var ( "_CBINDGEN_IS_RUNNING" ) . is_err ( )
80
+ && env:: var ( "WASMER_PUBLISH_SCRIPT_IS_RUNNING" ) . is_err ( )
79
81
}
80
82
81
83
/// Build the header files for the `wasm_c_api` API.
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ def publish_crate(crate: str):
102
102
103
103
global no_dry_run
104
104
if no_dry_run :
105
- output = subprocess .run (["cargo" , "publish" ])
105
+ output = subprocess .run (["cargo" , "publish" ], env = { 'WASMER_PUBLISH_SCRIPT_IS_RUNNING' : '1' } )
106
106
else :
107
107
print ("In dry-run: not publishing crate `{}`" .format (crate ))
108
108
You can’t perform that action at this time.
0 commit comments