Skip to content

Commit 1ccf058

Browse files
committed
Release 0.2.9
1 parent ad5d763 commit 1ccf058

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
1010

1111
## [Unreleased]
1212

13+
## [0.2.9] - 2022-04-26
14+
15+
- Improve compile time of `pin_project!` calls. (#71, thanks @nnethercote)
16+
1317
## [0.2.8] - 2021-12-31
1418

1519
- Fix handling of trailing commas in `PinnedDrop` impl. ([#64](https://github.com/taiki-e/pin-project-lite/pull/64), thanks @Michael-J-Ward)
@@ -192,7 +196,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
192196

193197
Initial release
194198

195-
[Unreleased]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.8...HEAD
199+
[Unreleased]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.9...HEAD
200+
[0.2.9]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.8...v0.2.9
196201
[0.2.8]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.7...v0.2.8
197202
[0.2.7]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.6...v0.2.7
198203
[0.2.6]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.5...v0.2.6

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pin-project-lite"
3-
version = "0.2.8"
3+
version = "0.2.9"
44
edition = "2018"
55
rust-version = "1.37"
66
license = "Apache-2.0 OR MIT"

tools/publish.sh

+6-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ git diff --exit-code
4545
git diff --exit-code --staged
4646

4747
# Make sure the same release has not been created in the past.
48-
if gh release view "${tag}" >/dev/null; then
48+
if gh release view "${tag}" &>/dev/null; then
4949
bail "tag '${tag}' has already been created and pushed"
5050
fi
5151

@@ -63,8 +63,12 @@ if ! grep -Eq "^\\[${version//./\\.}\\]: " CHANGELOG.md; then
6363
bail "not found link to [${version}] in CHANGELOG.md"
6464
fi
6565

66+
if ! git branch | grep -q '\* main'; then
67+
bail "current branch is not 'main'"
68+
fi
69+
6670
set -x
6771

68-
git push origin main
6972
git tag "${tag}"
73+
git push origin main
7074
git push origin --tags

0 commit comments

Comments
 (0)