chore(release): v0.8.2

This commit is contained in:
Ajeet D'Souza 2022-06-26 00:52:42 +05:30
parent 7c7a2a0a3c
commit 3df60eb3d3
4 changed files with 20 additions and 12 deletions

View File

@ -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: ""

View File

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

2
Cargo.lock generated
View File

@ -1311,7 +1311,7 @@ dependencies = [
[[package]]
name = "zoxide"
version = "0.8.1"
version = "0.8.2"
dependencies = [
"anyhow",
"askama",

View File

@ -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"