Skip to content

Commit

Permalink
Release 0.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Apr 26, 2022
1 parent ad5d763 commit 1ccf058
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
8 changes: 6 additions & 2 deletions tools/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 1ccf058

Please sign in to comment.