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: with:
fetch-depth: 0 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 - name: Set artifact name
shell: bash shell: bash
run: | run: |
@ -74,10 +81,9 @@ jobs:
- name: Install cargo-deb - name: Install cargo-deb
if: ${{ matrix.deb == true }} if: ${{ matrix.deb == true }}
uses: actions-rs/cargo@v1 uses: actions-rs/install@v0.1
with: with:
command: install crate: cargo-deb
args: cargo-deb --locked
- name: Build deb - name: Build deb
if: ${{ matrix.deb == true }} if: ${{ matrix.deb == true }}
@ -94,11 +100,12 @@ jobs:
man/ man/
-C contrib/ completions/ -C ../ -C contrib/ completions/ -C ../
-C target/${{ matrix.target }}/release/ zoxide -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) - name: Package (Windows)
if: runner.os == 'Windows' if: runner.os == 'Windows'
run: > run: >
7z a ${{ env.ARTIFACT_NAME }}.zip 7z a 'zoxide-${{ steps.get_version.outputs.value }}-${{ matrix.target }}.zip'
CHANGELOG.md LICENSE README.md CHANGELOG.md LICENSE README.md
./man/ ./man/
./contrib/completions/ ./contrib/completions/
@ -122,5 +129,5 @@ jobs:
*.deb *.deb
*.tar.gz *.tar.gz
*.zip *.zip
name: ${{ github.event.head_commit.id }} name: ${{ steps.get_version.outputs.value }}
tag_name: "" 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/), 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). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased ## [0.8.2] - 2022-06-26
### Changed ### 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. - GitHub Actions pipeline to build and upload releases.
- Support for zsh. - 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.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.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 [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]] [[package]]
name = "zoxide" name = "zoxide"
version = "0.8.1" version = "0.8.2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"askama", "askama",

View File

@ -10,7 +10,7 @@ name = "zoxide"
readme = "README.md" readme = "README.md"
repository = "https://github.com/ajeetdsouza/zoxide" repository = "https://github.com/ajeetdsouza/zoxide"
rust-version = "1.59" rust-version = "1.59"
version = "0.8.1" version = "0.8.2"
[badges] [badges]
maintenance = { status = "actively-developed" } maintenance = { status = "actively-developed" }
@ -67,7 +67,7 @@ strip = true
assets = [ assets = [
[ [
"target/release/zoxide", "target/release/zoxide",
"usr/local/bin/", "usr/bin/",
"755", "755",
], ],
[ [
@ -77,7 +77,7 @@ assets = [
], ],
[ [
"contrib/completions/zoxide.fish", "contrib/completions/zoxide.fish",
"usr/share/fish/completions/", "usr/share/fish/vendor_completions.d/",
"664", "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 \ directories you use most frequently, so you can "jump" to them in just a few \
keystrokes.""" keystrokes."""
priority = "optional" priority = "optional"
section = "admin" section = "utils"