Skip to content

Commit

Permalink
chore(release): v0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ajeetdsouza committed Jun 25, 2022
1 parent 7c7a2a0 commit 3df60eb
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ jobs:
with:
fetch-depth: 0

- name: Get version
id: get_version
uses: SebRollen/[email protected]
with:
file: Cargo.toml
field: package.version

- name: Set artifact name
shell: bash
run: |
Expand Down Expand Up @@ -74,10 +81,9 @@ jobs:

- name: Install cargo-deb
if: ${{ matrix.deb == true }}
uses: actions-rs/cargo@v1
uses: actions-rs/[email protected]
with:
command: install
args: cargo-deb --locked
crate: cargo-deb

- name: Build deb
if: ${{ matrix.deb == true }}
Expand All @@ -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/
Expand All @@ -122,5 +129,5 @@ jobs:
*.deb
*.tar.gz
*.zip
name: ${{ github.event.head_commit.id }}
name: ${{ steps.get_version.outputs.value }}
tag_name: ""
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down Expand Up @@ -67,7 +67,7 @@ strip = true
assets = [
[
"target/release/zoxide",
"usr/local/bin/",
"usr/bin/",
"755",
],
[
Expand All @@ -77,7 +77,7 @@ assets = [
],
[
"contrib/completions/zoxide.fish",
"usr/share/fish/completions/",
"usr/share/fish/vendor_completions.d/",
"664",
],
[
Expand Down Expand Up @@ -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"

0 comments on commit 3df60eb

Please sign in to comment.