From 3df60eb3d3c3b904730f3c0d1fb7f66c0695aa7e Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Sun, 26 Jun 2022 00:52:42 +0530 Subject: [PATCH] chore(release): v0.8.2 --- .github/workflows/release.yml | 19 +++++++++++++------ CHANGELOG.md | 3 ++- Cargo.lock | 2 +- Cargo.toml | 8 ++++---- 4 files changed, 20 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70bae535..2894bf7f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,6 +44,13 @@ jobs: with: fetch-depth: 0 + - name: Get version + id: get_version + uses: SebRollen/toml-action@v1.0.0 + with: + file: Cargo.toml + field: package.version + - name: Set artifact name shell: bash run: | @@ -74,10 +81,9 @@ jobs: - name: Install cargo-deb if: ${{ matrix.deb == true }} - uses: actions-rs/cargo@v1 + uses: actions-rs/install@v0.1 with: - command: install - args: cargo-deb --locked + crate: cargo-deb - name: Build deb if: ${{ matrix.deb == true }} @@ -94,11 +100,12 @@ jobs: man/ -C contrib/ completions/ -C ../ -C target/${{ matrix.target }}/release/ zoxide - | gzip --best > '${{ env.ARTIFACT_NAME }}.tar.gz' + | gzip --best + > 'zoxide-${{ steps.get_version.outputs.value }}-${{ matrix.target }}.tar.gz' - name: Package (Windows) if: runner.os == 'Windows' run: > - 7z a ${{ env.ARTIFACT_NAME }}.zip + 7z a 'zoxide-${{ steps.get_version.outputs.value }}-${{ matrix.target }}.zip' CHANGELOG.md LICENSE README.md ./man/ ./contrib/completions/ @@ -122,5 +129,5 @@ jobs: *.deb *.tar.gz *.zip - name: ${{ github.event.head_commit.id }} + name: ${{ steps.get_version.outputs.value }} tag_name: "" diff --git a/CHANGELOG.md b/CHANGELOG.md index 288512e0..a71641c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ All notable changes to this project will be documented in this file. 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 +## [0.8.2] - 2022-06-26 ### Changed @@ -386,6 +386,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - GitHub Actions pipeline to build and upload releases. - Support for zsh. +[0.8.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.8.1...v0.8.2 [0.8.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.8.0...v0.8.1 [0.8.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.9...v0.8.0 [0.7.9]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.8...v0.7.9 diff --git a/Cargo.lock b/Cargo.lock index cc32fe0c..859cc819 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1311,7 +1311,7 @@ dependencies = [ [[package]] name = "zoxide" -version = "0.8.1" +version = "0.8.2" dependencies = [ "anyhow", "askama", diff --git a/Cargo.toml b/Cargo.toml index 676dcfc3..d2216687 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ name = "zoxide" readme = "README.md" repository = "https://github.com/ajeetdsouza/zoxide" rust-version = "1.59" -version = "0.8.1" +version = "0.8.2" [badges] maintenance = { status = "actively-developed" } @@ -67,7 +67,7 @@ strip = true assets = [ [ "target/release/zoxide", - "usr/local/bin/", + "usr/bin/", "755", ], [ @@ -77,7 +77,7 @@ assets = [ ], [ "contrib/completions/zoxide.fish", - "usr/share/fish/completions/", + "usr/share/fish/vendor_completions.d/", "664", ], [ @@ -111,4 +111,4 @@ zoxide is a smarter cd command, inspired by z and autojump. It remembers which \ directories you use most frequently, so you can "jump" to them in just a few \ keystrokes.""" priority = "optional" -section = "admin" +section = "utils"