Skip to content

Commit 76cab3f

Browse files
authored
fix: retry deploy npm (#13691)
Please read [contributing guidelines](CONTRIBUTING.md) and remove this line.
1 parent f0d1ec1 commit 76cab3f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

barretenberg/ts/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function test {
4141
}
4242

4343
function release {
44-
deploy_npm $(dist_tag) ${REF_NAME#v}
44+
retry "deploy_npm $(dist_tag) ${REF_NAME#v}"
4545
}
4646

4747
case "$cmd" in

noir/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function release {
203203
jq --arg v $version '.version = $v' package.json >tmp.json
204204
mv tmp.json package.json
205205

206-
deploy_npm $dist_tag $version
206+
retry "deploy_npm $dist_tag $version"
207207
cd ..
208208
done
209209
}

yarn-project/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function release_packages {
150150
local packages=$(get_projects topological)
151151
local package_list=()
152152
for package in $packages; do
153-
(cd $package && deploy_npm $1 $2)
153+
(cd $package && retry "deploy_npm $1 $2")
154154
local package_name=$(jq -r .name "$package/package.json")
155155
package_list+=("$package_name@$2")
156156
done

0 commit comments

Comments
 (0)