From f43827a2e9a01310160768f0e6b8172cbae1313f Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Fri, 3 Jul 2020 23:37:36 +0530 Subject: [PATCH] Release v0.4.2 --- .github/workflows/release.yml | 41 ++++++++++++++--------------------- CHANGELOG.md | 3 ++- Cargo.lock | 2 +- Cargo.toml | 4 ++-- 4 files changed, 21 insertions(+), 29 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a28690..c756b34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,13 +10,13 @@ jobs: matrix: target: ["x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "armv7-unknown-linux-musleabihf"] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v2 - uses: actions-rs/cargo@v1 with: use-cross: true command: build args: --release --target ${{ matrix.target }} - - uses: actions/upload-artifact@v1.0.0 + - uses: actions/upload-artifact@v2 with: name: "zoxide-${{ matrix.target }}" path: "target/${{ matrix.target }}/release/zoxide" @@ -24,12 +24,12 @@ jobs: build-darwin: runs-on: macos-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v2 - uses: actions-rs/cargo@v1 with: command: build args: --release --target x86_64-apple-darwin - - uses: actions/upload-artifact@v1.0.0 + - uses: actions/upload-artifact@v2 with: name: "zoxide-x86_64-apple-darwin" path: "target/x86_64-apple-darwin/release/zoxide" @@ -37,14 +37,14 @@ jobs: build-windows: runs-on: windows-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v2 - uses: actions-rs/cargo@v1 with: command: build args: --release --target x86_64-pc-windows-msvc - - uses: actions/upload-artifact@v1.0.0 + - uses: actions/upload-artifact@v2 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" release-upload: @@ -54,18 +54,21 @@ jobs: - build-windows runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v2 + - id: create_release - uses: actions/create-release@latest + uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} - - uses: actions/download-artifact@v1 - with: - name: "zoxide-x86_64-unknown-linux-gnu" + - uses: actions/download-artifact@v2 + + - name: Display structure of downloaded files + run: ls -lR + - uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -75,9 +78,6 @@ jobs: asset_name: "zoxide-x86_64-unknown-linux-gnu" 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 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -87,9 +87,6 @@ jobs: asset_name: "zoxide-x86_64-unknown-linux-musl" asset_content_type: application/octet-stream - - uses: actions/download-artifact@v1 - with: - name: "zoxide-armv7-unknown-linux-musleabihf" - uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -99,9 +96,6 @@ jobs: asset_name: "zoxide-armv7-unknown-linux-musleabihf" asset_content_type: application/octet-stream - - uses: actions/download-artifact@v1 - with: - name: "zoxide-x86_64-apple-darwin" - uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -111,14 +105,11 @@ jobs: asset_name: "zoxide-x86_64-apple-darwin" 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 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: 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_content_type: application/octet-stream diff --git a/CHANGELOG.md b/CHANGELOG.md index 4139003..8e793d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## [0.4.2] - 2020-07-03 ### 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. - 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.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 diff --git a/Cargo.lock b/Cargo.lock index c4d4365..065d938 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -411,7 +411,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "zoxide" -version = "0.4.1" +version = "0.4.2" dependencies = [ "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)", diff --git a/Cargo.toml b/Cargo.toml index 96c7a1b..8857e2e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zoxide" -version = "0.4.1" +version = "0.4.2" authors = ["Ajeet D'Souza <98ajeet@gmail.com>"] description = "A faster way to navigate your filesystem" repository = "https://github.com/ajeetdsouza/zoxide/" @@ -25,4 +25,4 @@ uuid = { version = "0.8.1", features = ["v4"] } [profile.release] codegen-units = 1 -lto = "fat" +lto = true