We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab38fd2 commit d6e7046Copy full SHA for d6e7046
ci/publish.sh
@@ -0,0 +1,33 @@
1
+#!/bin/bash
2
+
3
+set -euo pipefail
4
+IFS=$'\n\t'
5
6
+# A list of paths to the crate to be published.
7
+# It will be published in the order listed.
8
+MEMBERS=(
9
+ "futures-core"
10
+ "futures-io"
11
+ "futures-sink"
12
+ "futures-task"
13
+ "futures-channel"
14
+ "futures-macro"
15
+ "futures-util"
16
+ "futures-executor"
17
+ "futures"
18
+ "futures-test"
19
+)
20
21
+cd "$(cd "$(dirname "$0")" && pwd)"/..
22
23
+set -x
24
25
+for i in "${!MEMBERS[@]}"; do
26
+ (
27
+ cd "${MEMBERS[${i}]}"
28
+ cargo publish
29
+ )
30
+ if [[ $((i + 1)) != "${#MEMBERS[@]}" ]]; then
31
+ sleep 45
32
+ fi
33
+done
0 commit comments