Release v0.4.2

This commit is contained in:
Ajeet D'Souza 2020-07-03 23:37:36 +05:30
parent 1bc0454f84
commit f43827a2e9
4 changed files with 21 additions and 29 deletions

View File

@ -10,13 +10,13 @@ jobs:
matrix: matrix:
target: ["x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "armv7-unknown-linux-musleabihf"] target: ["x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "armv7-unknown-linux-musleabihf"]
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v2
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
use-cross: true use-cross: true
command: build command: build
args: --release --target ${{ matrix.target }} args: --release --target ${{ matrix.target }}
- uses: actions/upload-artifact@v1.0.0 - uses: actions/upload-artifact@v2
with: with:
name: "zoxide-${{ matrix.target }}" name: "zoxide-${{ matrix.target }}"
path: "target/${{ matrix.target }}/release/zoxide" path: "target/${{ matrix.target }}/release/zoxide"
@ -24,12 +24,12 @@ jobs:
build-darwin: build-darwin:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v2
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: build command: build
args: --release --target x86_64-apple-darwin args: --release --target x86_64-apple-darwin
- uses: actions/upload-artifact@v1.0.0 - uses: actions/upload-artifact@v2
with: with:
name: "zoxide-x86_64-apple-darwin" name: "zoxide-x86_64-apple-darwin"
path: "target/x86_64-apple-darwin/release/zoxide" path: "target/x86_64-apple-darwin/release/zoxide"
@ -37,14 +37,14 @@ jobs:
build-windows: build-windows:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v2
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: build command: build
args: --release --target x86_64-pc-windows-msvc args: --release --target x86_64-pc-windows-msvc
- uses: actions/upload-artifact@v1.0.0 - uses: actions/upload-artifact@v2
with: with:
name: "zoxide-x86_64-pc-windows-msvc.exe" name: "zoxide-x86_64-pc-windows-msvc"
path: "target/x86_64-pc-windows-msvc/release/zoxide.exe" path: "target/x86_64-pc-windows-msvc/release/zoxide.exe"
release-upload: release-upload:
@ -54,18 +54,21 @@ jobs:
- build-windows - build-windows
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v2
- id: create_release - id: create_release
uses: actions/create-release@latest uses: actions/create-release@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
tag_name: ${{ github.ref }} tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }} release_name: Release ${{ github.ref }}
- uses: actions/download-artifact@v1 - uses: actions/download-artifact@v2
with:
name: "zoxide-x86_64-unknown-linux-gnu" - name: Display structure of downloaded files
run: ls -lR
- uses: actions/upload-release-asset@v1 - uses: actions/upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -75,9 +78,6 @@ jobs:
asset_name: "zoxide-x86_64-unknown-linux-gnu" asset_name: "zoxide-x86_64-unknown-linux-gnu"
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
- uses: actions/download-artifact@v1
with:
name: "zoxide-x86_64-unknown-linux-musl"
- uses: actions/upload-release-asset@v1 - uses: actions/upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -87,9 +87,6 @@ jobs:
asset_name: "zoxide-x86_64-unknown-linux-musl" asset_name: "zoxide-x86_64-unknown-linux-musl"
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
- uses: actions/download-artifact@v1
with:
name: "zoxide-armv7-unknown-linux-musleabihf"
- uses: actions/upload-release-asset@v1 - uses: actions/upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -99,9 +96,6 @@ jobs:
asset_name: "zoxide-armv7-unknown-linux-musleabihf" asset_name: "zoxide-armv7-unknown-linux-musleabihf"
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
- uses: actions/download-artifact@v1
with:
name: "zoxide-x86_64-apple-darwin"
- uses: actions/upload-release-asset@v1 - uses: actions/upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -111,14 +105,11 @@ jobs:
asset_name: "zoxide-x86_64-apple-darwin" asset_name: "zoxide-x86_64-apple-darwin"
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
- uses: actions/download-artifact@v1
with:
name: "zoxide-x86_64-pc-windows-msvc.exe"
- uses: actions/upload-release-asset@v1 - uses: actions/upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "zoxide-x86_64-pc-windows-msvc/zoxide" asset_path: "zoxide-x86_64-pc-windows-msvc/zoxide.exe"
asset_name: "zoxide-x86_64-pc-windows-msvc.exe" asset_name: "zoxide-x86_64-pc-windows-msvc.exe"
asset_content_type: application/octet-stream asset_content_type: application/octet-stream

View File

@ -5,7 +5,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.4.2] - 2020-07-03
### Added ### Added
@ -150,6 +150,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 the `zsh` shell. - Support for the `zsh` shell.
[0.4.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.1...v0.4.2
[0.4.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.0...v0.4.1 [0.4.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.1...v0.4.0 [0.4.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.1...v0.4.0
[0.3.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.0...v0.3.1 [0.3.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.0...v0.3.1

2
Cargo.lock generated
View File

@ -411,7 +411,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]] [[package]]
name = "zoxide" name = "zoxide"
version = "0.4.1" version = "0.4.2"
dependencies = [ dependencies = [
"anyhow 1.0.31 (registry+https://github.com/rust-lang/crates.io-index)", "anyhow 1.0.31 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zoxide" name = "zoxide"
version = "0.4.1" version = "0.4.2"
authors = ["Ajeet D'Souza <98ajeet@gmail.com>"] authors = ["Ajeet D'Souza <98ajeet@gmail.com>"]
description = "A faster way to navigate your filesystem" description = "A faster way to navigate your filesystem"
repository = "https://github.com/ajeetdsouza/zoxide/" repository = "https://github.com/ajeetdsouza/zoxide/"
@ -25,4 +25,4 @@ uuid = { version = "0.8.1", features = ["v4"] }
[profile.release] [profile.release]
codegen-units = 1 codegen-units = 1
lto = "fat" lto = true