Skip to content

Commit 739dfa9

Browse files
committed
Bump version to 0.6.0
1 parent 4961a2c commit 739dfa9

File tree

6 files changed

+23
-12
lines changed

6 files changed

+23
-12
lines changed

.github/workflows/build-artifacts-and-run-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ jobs:
102102
shell: bash
103103
run: |
104104
FEATURES=(allow_piped_choice)
105+
if [[ "${{ matrix.feature-unrar }}" == true ]]; then FEATURES+=(unrar); fi
105106
if [[ "${{ matrix.feature-use-zlib }}" == true ]]; then FEATURES+=(use_zlib); fi
106107
if [[ "${{ matrix.feature-use-zstd-thin }}" == true ]]; then FEATURES+=(use_zstd_thin); fi
107-
if [[ "${{ matrix.feature-unrar }}" == true ]]; then FEATURES+=(unrar); fi
108108
# Output plus-separated list for artifact names
109109
IFS='+'
110110
echo "FEATURES_PLUS=${FEATURES[*]}" >> $GITHUB_OUTPUT
@@ -127,7 +127,7 @@ jobs:
127127
128128
- uses: Swatinem/rust-cache@v2
129129
with:
130-
key: "${{ matrix.target }}-${{ matrix.feature-unrar }}-${{ matrix.feature-use-zstd-thin }}-${{ matrix.feature-unrar }}"
130+
key: "${{ matrix.target }}-${{ matrix.feature-unrar }}-${{ matrix.feature-use-zlib }}-${{ matrix.feature-use-zstd-thin }}"
131131

132132
- name: Test on stable
133133
# there's no way to run tests for ARM64 Windows for now
@@ -136,7 +136,7 @@ jobs:
136136
${{ env.CARGO }} +stable test --profile fast --target ${{ matrix.target }} $EXTRA_CARGO_FLAGS
137137
138138
- name: Build release artifacts (binary and completions)
139-
if: ${{ inputs.upload_artifacts }}
139+
if: ${{ inputs.artifact_upload_mode != 'none' }}
140140
run: |
141141
${{ env.CARGO }} +stable build --release --target ${{ matrix.target }} $EXTRA_CARGO_FLAGS
142142
env:
@@ -153,4 +153,4 @@ jobs:
153153
path: |
154154
target/${{ matrix.target }}/release/ouch
155155
target/${{ matrix.target }}/release/ouch.exe
156-
artifacts/
156+
man-page-and-completions-artifacts/

.github/workflows/draft-release-automatic-trigger.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@ jobs:
2121
uses: actions/checkout@v4
2222

2323
- name: Download artifacts
24-
uses: dawidd6/action-download-artifact@v6
24+
uses: actions/download-artifact@v4
2525
with:
2626
path: downloaded_artifacts
27-
workflow: ./.github/workflows/build-artifacts-and-run-tests.yml
28-
name: ouch-*
27+
pattern: ouch-*
2928

3029
- name: Package release assets
3130
run: scripts/package-release-assets.sh

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ Categories Used:
1818

1919
**Bullet points in chronological order by PR**
2020

21-
## [Unreleased](https://github.com/ouch-org/ouch/compare/0.5.1...HEAD)
21+
## [Unreleased](https://github.com/ouch-org/ouch/compare/0.6.0...HEAD)
22+
23+
### New Features
24+
### Improvements
25+
### Bug Fixes
26+
### Tweaks
27+
28+
## [0.6.0](https://github.com/ouch-org/ouch/compare/0.5.1...0.6.0)
2229

2330
### New Features
2431

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ouch"
3-
version = "0.5.1"
3+
version = "0.6.0"
44
authors = [
55
"João Marcos <[email protected]>",
66
"Vinícius Rodrigues Miguel <[email protected]>",

scripts/package-release-assets.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
#!/usr/bin/env bash
22
set -e
33

4-
mkdir -p output_assets
4+
mkdir output_assets
5+
echo "created folder 'output_assets/'"
6+
ls -lA -w 1
57
cd downloaded_artifacts
8+
echo "entered 'downloaded_artifacts/'"
9+
ls -lA -w 1
610

711
TARGETS=(
812
"aarch64-pc-windows-msvc"
@@ -16,7 +20,8 @@ TARGETS=(
1620
"x86_64-unknown-linux-gnu"
1721
"x86_64-unknown-linux-musl"
1822
)
19-
DEFAULT_FEATURES="unrar+use_zlib+use_zstd_thin"
23+
# Temporary, we'll remove allow_piped_choice later
24+
DEFAULT_FEATURES="allow_piped_choice+unrar+use_zlib+use_zstd_thin"
2025

2126
for target in "${TARGETS[@]}"; do
2227
input_dir="ouch-${target}-${DEFAULT_FEATURES}"

0 commit comments

Comments
 (0)