diff --git a/CHANGELOG.md b/CHANGELOG.md index 3978df6..127e467 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com ## [Unreleased] +## [0.2.9] - 2022-04-26 + +- Improve compile time of `pin_project!` calls. (#71, thanks @nnethercote) + ## [0.2.8] - 2021-12-31 - 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 Initial release -[Unreleased]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.8...HEAD +[Unreleased]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.9...HEAD +[0.2.9]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.8...v0.2.9 [0.2.8]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.7...v0.2.8 [0.2.7]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.6...v0.2.7 [0.2.6]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.5...v0.2.6 diff --git a/Cargo.toml b/Cargo.toml index 12fe9db..3528633 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pin-project-lite" -version = "0.2.8" +version = "0.2.9" edition = "2018" rust-version = "1.37" license = "Apache-2.0 OR MIT" diff --git a/tools/publish.sh b/tools/publish.sh index 50cd298..870597c 100755 --- a/tools/publish.sh +++ b/tools/publish.sh @@ -45,7 +45,7 @@ git diff --exit-code git diff --exit-code --staged # Make sure the same release has not been created in the past. -if gh release view "${tag}" >/dev/null; then +if gh release view "${tag}" &>/dev/null; then bail "tag '${tag}' has already been created and pushed" fi @@ -63,8 +63,12 @@ if ! grep -Eq "^\\[${version//./\\.}\\]: " CHANGELOG.md; then bail "not found link to [${version}] in CHANGELOG.md" fi +if ! git branch | grep -q '\* main'; then + bail "current branch is not 'main'" +fi + set -x -git push origin main git tag "${tag}" +git push origin main git push origin --tags