From 29d00baeae7174b5ade840cf7759baf878658167 Mon Sep 17 00:00:00 2001 From: Rain Date: Sun, 16 Jan 2022 15:35:46 -0800 Subject: [PATCH] prepare to release camino 1.0.6 --- .github/workflows/release.yml | 31 +++++++++++++++++++++++++++++++ CHANGELOG.md | 3 ++- Cargo.toml | 2 +- 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000000..c3bc6c4091 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,31 @@ +# adapted from https://github.com/taiki-e/cargo-hack/blob/main/.github/workflows/release.yml + +name: Release binaries +on: + push: + tags: + - '*' + +jobs: + create-release: + if: github.repository_owner == 'camino-rs' + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + with: + persist-credentials: false + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - run: cargo publish + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + - uses: taiki-e/create-gh-release-action@v1 + with: + changelog: CHANGELOG.md + title: camino $version + branch: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index a696ca3f87..36bd96e9ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## [1.0.6] - 2022-01-16 ### Added @@ -63,6 +63,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Initial release. +[1.0.6]: https://github.com/camino-rs/camino/releases/tag/camino-1.0.6 [1.0.5]: https://github.com/camino-rs/camino/releases/tag/camino-1.0.5 [1.0.4]: https://github.com/camino-rs/camino/releases/tag/camino-1.0.4 [1.0.3]: https://github.com/camino-rs/camino/releases/tag/camino-1.0.3 diff --git a/Cargo.toml b/Cargo.toml index 80e6df2dea..5766d14099 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ members = [".", "camino-examples"] [package] name = "camino" description = "UTF-8 paths" -version = "1.0.5" +version = "1.0.6" license = "MIT OR Apache-2.0" readme = "README.md" keywords = ["paths", "utf8", "unicode", "filesystem"]