Skip to content

Commit f43827a

Browse files
committed
Release v0.4.2
1 parent 1bc0454 commit f43827a

File tree

4 files changed

+21
-29
lines changed

4 files changed

+21
-29
lines changed

.github/workflows/release.yml

+16-25
Original file line numberDiff line numberDiff line change
@@ -10,41 +10,41 @@ jobs:
1010
matrix:
1111
target: ["x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "armv7-unknown-linux-musleabihf"]
1212
steps:
13-
- uses: actions/checkout@master
13+
- uses: actions/checkout@v2
1414
- uses: actions-rs/cargo@v1
1515
with:
1616
use-cross: true
1717
command: build
1818
args: --release --target ${{ matrix.target }}
19-
- uses: actions/upload-artifact@v1.0.0
19+
- uses: actions/upload-artifact@v2
2020
with:
2121
name: "zoxide-${{ matrix.target }}"
2222
path: "target/${{ matrix.target }}/release/zoxide"
2323

2424
build-darwin:
2525
runs-on: macos-latest
2626
steps:
27-
- uses: actions/checkout@master
27+
- uses: actions/checkout@v2
2828
- uses: actions-rs/cargo@v1
2929
with:
3030
command: build
3131
args: --release --target x86_64-apple-darwin
32-
- uses: actions/upload-artifact@v1.0.0
32+
- uses: actions/upload-artifact@v2
3333
with:
3434
name: "zoxide-x86_64-apple-darwin"
3535
path: "target/x86_64-apple-darwin/release/zoxide"
3636

3737
build-windows:
3838
runs-on: windows-latest
3939
steps:
40-
- uses: actions/checkout@master
40+
- uses: actions/checkout@v2
4141
- uses: actions-rs/cargo@v1
4242
with:
4343
command: build
4444
args: --release --target x86_64-pc-windows-msvc
45-
- uses: actions/upload-artifact@v1.0.0
45+
- uses: actions/upload-artifact@v2
4646
with:
47-
name: "zoxide-x86_64-pc-windows-msvc.exe"
47+
name: "zoxide-x86_64-pc-windows-msvc"
4848
path: "target/x86_64-pc-windows-msvc/release/zoxide.exe"
4949

5050
release-upload:
@@ -54,18 +54,21 @@ jobs:
5454
- build-windows
5555
runs-on: ubuntu-latest
5656
steps:
57-
- uses: actions/checkout@master
57+
- uses: actions/checkout@v2
58+
5859
- id: create_release
59-
uses: actions/create-release@latest
60+
uses: actions/create-release@v1
6061
env:
6162
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6263
with:
6364
tag_name: ${{ github.ref }}
6465
release_name: Release ${{ github.ref }}
6566

66-
- uses: actions/download-artifact@v1
67-
with:
68-
name: "zoxide-x86_64-unknown-linux-gnu"
67+
- uses: actions/download-artifact@v2
68+
69+
- name: Display structure of downloaded files
70+
run: ls -lR
71+
6972
- uses: actions/upload-release-asset@v1
7073
env:
7174
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -75,9 +78,6 @@ jobs:
7578
asset_name: "zoxide-x86_64-unknown-linux-gnu"
7679
asset_content_type: application/octet-stream
7780

78-
- uses: actions/download-artifact@v1
79-
with:
80-
name: "zoxide-x86_64-unknown-linux-musl"
8181
- uses: actions/upload-release-asset@v1
8282
env:
8383
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -87,9 +87,6 @@ jobs:
8787
asset_name: "zoxide-x86_64-unknown-linux-musl"
8888
asset_content_type: application/octet-stream
8989

90-
- uses: actions/download-artifact@v1
91-
with:
92-
name: "zoxide-armv7-unknown-linux-musleabihf"
9390
- uses: actions/upload-release-asset@v1
9491
env:
9592
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -99,9 +96,6 @@ jobs:
9996
asset_name: "zoxide-armv7-unknown-linux-musleabihf"
10097
asset_content_type: application/octet-stream
10198

102-
- uses: actions/download-artifact@v1
103-
with:
104-
name: "zoxide-x86_64-apple-darwin"
10599
- uses: actions/upload-release-asset@v1
106100
env:
107101
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -111,14 +105,11 @@ jobs:
111105
asset_name: "zoxide-x86_64-apple-darwin"
112106
asset_content_type: application/octet-stream
113107

114-
- uses: actions/download-artifact@v1
115-
with:
116-
name: "zoxide-x86_64-pc-windows-msvc.exe"
117108
- uses: actions/upload-release-asset@v1
118109
env:
119110
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120111
with:
121112
upload_url: ${{ steps.create_release.outputs.upload_url }}
122-
asset_path: "zoxide-x86_64-pc-windows-msvc/zoxide"
113+
asset_path: "zoxide-x86_64-pc-windows-msvc/zoxide.exe"
123114
asset_name: "zoxide-x86_64-pc-windows-msvc.exe"
124115
asset_content_type: application/octet-stream

CHANGELOG.md

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

8-
## Unreleased
8+
## [0.4.2] - 2020-07-03
99

1010
### Added
1111

@@ -150,6 +150,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
150150
- GitHub Actions pipeline to build and upload releases.
151151
- Support for the `zsh` shell.
152152

153+
[0.4.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.1...v0.4.2
153154
[0.4.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.0...v0.4.1
154155
[0.4.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.1...v0.4.0
155156
[0.3.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.0...v0.3.1

Cargo.lock

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

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zoxide"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
authors = ["Ajeet D'Souza <[email protected]>"]
55
description = "A faster way to navigate your filesystem"
66
repository = "https://github.com/ajeetdsouza/zoxide/"
@@ -25,4 +25,4 @@ uuid = { version = "0.8.1", features = ["v4"] }
2525

2626
[profile.release]
2727
codegen-units = 1
28-
lto = "fat"
28+
lto = true

0 commit comments

Comments
 (0)