Skip to content

Commit 3df60eb

Browse files
committed
chore(release): v0.8.2
1 parent 7c7a2a0 commit 3df60eb

File tree

4 files changed

+20
-12
lines changed

4 files changed

+20
-12
lines changed

.github/workflows/release.yml

+13-6
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ jobs:
4444
with:
4545
fetch-depth: 0
4646

47+
- name: Get version
48+
id: get_version
49+
uses: SebRollen/[email protected]
50+
with:
51+
file: Cargo.toml
52+
field: package.version
53+
4754
- name: Set artifact name
4855
shell: bash
4956
run: |
@@ -74,10 +81,9 @@ jobs:
7481

7582
- name: Install cargo-deb
7683
if: ${{ matrix.deb == true }}
77-
uses: actions-rs/cargo@v1
84+
uses: actions-rs/[email protected]
7885
with:
79-
command: install
80-
args: cargo-deb --locked
86+
crate: cargo-deb
8187

8288
- name: Build deb
8389
if: ${{ matrix.deb == true }}
@@ -94,11 +100,12 @@ jobs:
94100
man/
95101
-C contrib/ completions/ -C ../
96102
-C target/${{ matrix.target }}/release/ zoxide
97-
| gzip --best > '${{ env.ARTIFACT_NAME }}.tar.gz'
103+
| gzip --best
104+
> 'zoxide-${{ steps.get_version.outputs.value }}-${{ matrix.target }}.tar.gz'
98105
- name: Package (Windows)
99106
if: runner.os == 'Windows'
100107
run: >
101-
7z a ${{ env.ARTIFACT_NAME }}.zip
108+
7z a 'zoxide-${{ steps.get_version.outputs.value }}-${{ matrix.target }}.zip'
102109
CHANGELOG.md LICENSE README.md
103110
./man/
104111
./contrib/completions/
@@ -122,5 +129,5 @@ jobs:
122129
*.deb
123130
*.tar.gz
124131
*.zip
125-
name: ${{ github.event.head_commit.id }}
132+
name: ${{ steps.get_version.outputs.value }}
126133
tag_name: ""

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ All notable changes to this project will be documented in this file.
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10-
## Unreleased
10+
## [0.8.2] - 2022-06-26
1111

1212
### Changed
1313

@@ -386,6 +386,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
386386
- GitHub Actions pipeline to build and upload releases.
387387
- Support for zsh.
388388

389+
[0.8.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.8.1...v0.8.2
389390
[0.8.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.8.0...v0.8.1
390391
[0.8.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.9...v0.8.0
391392
[0.7.9]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.8...v0.7.9

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name = "zoxide"
1010
readme = "README.md"
1111
repository = "https://github.com/ajeetdsouza/zoxide"
1212
rust-version = "1.59"
13-
version = "0.8.1"
13+
version = "0.8.2"
1414

1515
[badges]
1616
maintenance = { status = "actively-developed" }
@@ -67,7 +67,7 @@ strip = true
6767
assets = [
6868
[
6969
"target/release/zoxide",
70-
"usr/local/bin/",
70+
"usr/bin/",
7171
"755",
7272
],
7373
[
@@ -77,7 +77,7 @@ assets = [
7777
],
7878
[
7979
"contrib/completions/zoxide.fish",
80-
"usr/share/fish/completions/",
80+
"usr/share/fish/vendor_completions.d/",
8181
"664",
8282
],
8383
[
@@ -111,4 +111,4 @@ zoxide is a smarter cd command, inspired by z and autojump. It remembers which \
111111
directories you use most frequently, so you can "jump" to them in just a few \
112112
keystrokes."""
113113
priority = "optional"
114-
section = "admin"
114+
section = "utils"

0 commit comments

Comments
 (0)