diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index 495fbea..e4243fa 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -21,9 +21,9 @@ jobs: release_name: ${{ github.ref }} draft: false prerelease: false - deploy_binaries: - needs: create_release + deploy_github: runs-on: ${{ matrix.os }} + needs: create_release strategy: fail-fast: false matrix: @@ -40,7 +40,9 @@ jobs: - name: Install rust uses: actions-rs/toolchain@v1 with: - toolchain: stable + profile: minimal + toolchain: stable + override: true - name: Check project uses: actions-rs/cargo@v1 with: @@ -65,19 +67,19 @@ jobs: asset_path: himalaya.tar.gz asset_name: himalaya-${{ matrix.os_name }}.tar.gz asset_content_type: application/gzip - deploy_crate: + deploy_crates: + runs-on: ubuntu-latest needs: create_release - runs-on: linux + environment: deployment steps: - name: Checkout code uses: actions/checkout@v2 - name: Install rust uses: actions-rs/toolchain@v1 with: - toolchain: stable - - name: Check project - uses: actions-rs/cargo@v1 + profile: minimal + toolchain: stable + override: true + - uses: katyo/publish-crates@v1 with: - command: check - - name: Publish package to crates.io - run: cargo publish + registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 668e046..5126c06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.5.3] - 2022-02-03 + +### Added + +- Activate rust-imap logs when trace mode is enabled +- Set up cargo deployment + ## [0.5.2] - 2022-02-02 ### Fixed @@ -266,7 +273,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Password from command [#22] - Set up README [#20] -[unreleased]: https://github.com/soywod/himalaya/compare/v0.5.2...HEAD +[unreleased]: https://github.com/soywod/himalaya/compare/v0.5.3...HEAD +[0.5.3]: https://github.com/soywod/himalaya/compare/v0.5.2...v0.5.3 [0.5.2]: https://github.com/soywod/himalaya/compare/v0.5.1...v0.5.2 [0.5.1]: https://github.com/soywod/himalaya/compare/v0.5.0...v0.5.1 [0.5.0]: https://github.com/soywod/himalaya/compare/v0.4.0...v0.5.0 diff --git a/Cargo.lock b/Cargo.lock index dc56461..0999ac6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -361,7 +361,7 @@ dependencies = [ [[package]] name = "himalaya" -version = "0.5.2" +version = "0.5.3" dependencies = [ "ammonia", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 0e2fd11..a942c80 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "himalaya" description = "Command-line interface for email management" -version = "0.5.2" +version = "0.5.3" authors = ["soywod "] edition = "2018" license-file = "LICENSE"