summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAjeet D'Souza <98ajeet@gmail.com>2022-06-26 00:52:42 +0530
committerAjeet D'Souza <98ajeet@gmail.com>2022-06-26 01:22:49 +0530
commit3df60eb3d3c3b904730f3c0d1fb7f66c0695aa7e (patch)
tree176683f5918e5ab6b094b412fd5b03dcb05f04d9
parent7c7a2a0a3cc5e407175c61333c24fed0342e7987 (diff)
chore(release): v0.8.2v0.8.2
-rw-r--r--.github/workflows/release.yml19
-rw-r--r--CHANGELOG.md3
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml8
4 files changed, 20 insertions, 12 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 70bae53..2894bf7 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 288512e..a71641c 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 cc32fe0..859cc81 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 676dcfc..d221668 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"