Skip to content

Commit 30bb402

Browse files
committed
Release 0.2.5
1 parent d14a107 commit 30bb402

File tree

4 files changed

+21
-42
lines changed

4 files changed

+21
-42
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,16 @@ All notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](https://semver.org).
66

7+
<!--
8+
Note: In this file, do not use the hard wrap in the middle of a sentence for compatibility with GitHub comment style markdown rendering.
9+
-->
10+
711
## [Unreleased]
812

13+
## [0.2.5] - 2021-01-05
14+
15+
- Exclude unneeded files from crates.io.
16+
917
## [0.2.4] - 2020-12-29
1018

1119
- Documentation improvements.
@@ -146,7 +154,8 @@ This project adheres to [Semantic Versioning](https://semver.org).
146154

147155
Initial release
148156

149-
[Unreleased]: https://github.com/taiki-e/futures-async-stream/compare/v0.2.4...HEAD
157+
[Unreleased]: https://github.com/taiki-e/futures-async-stream/compare/v0.2.5...HEAD
158+
[0.2.5]: https://github.com/taiki-e/futures-async-stream/compare/v0.2.4...v0.2.5
150159
[0.2.4]: https://github.com/taiki-e/futures-async-stream/compare/v0.2.3...v0.2.4
151160
[0.2.3]: https://github.com/taiki-e/futures-async-stream/compare/v0.2.2...v0.2.3
152161
[0.2.2]: https://github.com/taiki-e/futures-async-stream/compare/v0.2.1...v0.2.2

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "futures-async-stream"
3-
version = "0.2.4"
3+
version = "0.2.5"
44
authors = ["Taiki Endo <te316e89@gmail.com>"]
55
edition = "2018"
66
license = "Apache-2.0 OR MIT"
@@ -22,7 +22,7 @@ members = ["futures-async-stream-macro", "tests/no-std"]
2222

2323
# NB: futures-core is public dependencies.
2424
[dependencies]
25-
futures-async-stream-macro = { version = "=0.2.4", path = "futures-async-stream-macro", default-features = false }
25+
futures-async-stream-macro = { version = "=0.2.5", path = "futures-async-stream-macro", default-features = false }
2626
futures-core = { version = "0.3", default-features = false }
2727
pin-project = "1"
2828

ci/publish.sh

Lines changed: 8 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,16 @@
11
#!/bin/bash
22

3-
# Automate the local side release step.
4-
#
5-
# Note: This script does not intend to use with projects that have multiple
6-
# public packages with different version numbers in the workspace, like crossbeam.
7-
83
set -euo pipefail
94
IFS=$'\n\t'
105

11-
# A list of paths to the crate to be published.
12-
# It will be published in the order listed.
13-
MEMBERS=(
14-
"futures-async-stream-macro"
15-
"."
16-
)
17-
18-
function error {
19-
echo "error: $*" >&2
20-
}
6+
cd "$(cd "$(dirname "${0}")" && pwd)"/..
217

22-
function retry() {
23-
local -i max_retry=${1}
24-
local -i count=0
25-
while ! eval "${2}"; do
26-
((count++))
27-
if ((count > max_retry)); then
28-
error "${3}"
29-
exit 1
30-
fi
31-
echo "info: retry after $((10 * count)) seconds"
32-
sleep $((10 * count))
33-
done
34-
}
8+
set -x
359

36-
cd "$(cd "$(dirname "${0}")" && pwd)"/..
10+
(
11+
cd futures-async-stream-macro
12+
cargo publish
13+
)
3714

38-
# publishing
39-
for member in "${MEMBERS[@]}"; do
40-
(
41-
cd "${member}"
42-
pwd
43-
echo "info: running 'cargo publish ${dryrun:-}'"
44-
retry 2 "cargo publish ${dryrun:-}" "unable to publish ${member}"
45-
)
46-
done
15+
sleep 30
16+
cargo publish

futures-async-stream-macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "futures-async-stream-macro"
3-
version = "0.2.4"
3+
version = "0.2.5"
44
authors = ["Taiki Endo <te316e89@gmail.com>"]
55
edition = "2018"
66
license = "Apache-2.0 OR MIT"

0 commit comments

Comments
 (0)