Bump version to 0.6.0

This commit is contained in:
João Marcos 2025-04-18 03:46:39 -03:00
parent 4961a2c478
commit 739dfa9507
6 changed files with 23 additions and 12 deletions

View File

@ -102,9 +102,9 @@ jobs:
shell: bash
run: |
FEATURES=(allow_piped_choice)
if [[ "${{ matrix.feature-unrar }}" == true ]]; then FEATURES+=(unrar); fi
if [[ "${{ matrix.feature-use-zlib }}" == true ]]; then FEATURES+=(use_zlib); fi
if [[ "${{ matrix.feature-use-zstd-thin }}" == true ]]; then FEATURES+=(use_zstd_thin); fi
if [[ "${{ matrix.feature-unrar }}" == true ]]; then FEATURES+=(unrar); fi
# Output plus-separated list for artifact names
IFS='+'
echo "FEATURES_PLUS=${FEATURES[*]}" >> $GITHUB_OUTPUT
@ -127,7 +127,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
key: "${{ matrix.target }}-${{ matrix.feature-unrar }}-${{ matrix.feature-use-zstd-thin }}-${{ matrix.feature-unrar }}"
key: "${{ matrix.target }}-${{ matrix.feature-unrar }}-${{ matrix.feature-use-zlib }}-${{ matrix.feature-use-zstd-thin }}"
- name: Test on stable
# there's no way to run tests for ARM64 Windows for now
@ -136,7 +136,7 @@ jobs:
${{ env.CARGO }} +stable test --profile fast --target ${{ matrix.target }} $EXTRA_CARGO_FLAGS
- name: Build release artifacts (binary and completions)
if: ${{ inputs.upload_artifacts }}
if: ${{ inputs.artifact_upload_mode != 'none' }}
run: |
${{ env.CARGO }} +stable build --release --target ${{ matrix.target }} $EXTRA_CARGO_FLAGS
env:
@ -153,4 +153,4 @@ jobs:
path: |
target/${{ matrix.target }}/release/ouch
target/${{ matrix.target }}/release/ouch.exe
artifacts/
man-page-and-completions-artifacts/

View File

@ -21,11 +21,10 @@ jobs:
uses: actions/checkout@v4
- name: Download artifacts
uses: dawidd6/action-download-artifact@v6
uses: actions/download-artifact@v4
with:
path: downloaded_artifacts
workflow: ./.github/workflows/build-artifacts-and-run-tests.yml
name: ouch-*
pattern: ouch-*
- name: Package release assets
run: scripts/package-release-assets.sh

View File

@ -18,7 +18,14 @@ Categories Used:
**Bullet points in chronological order by PR**
## [Unreleased](https://github.com/ouch-org/ouch/compare/0.5.1...HEAD)
## [Unreleased](https://github.com/ouch-org/ouch/compare/0.6.0...HEAD)
### New Features
### Improvements
### Bug Fixes
### Tweaks
## [0.6.0](https://github.com/ouch-org/ouch/compare/0.5.1...0.6.0)
### New Features

2
Cargo.lock generated
View File

@ -1066,7 +1066,7 @@ checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e"
[[package]]
name = "ouch"
version = "0.5.1"
version = "0.6.0"
dependencies = [
"assert_cmd",
"atty",

View File

@ -1,6 +1,6 @@
[package]
name = "ouch"
version = "0.5.1"
version = "0.6.0"
authors = [
"João Marcos <marcospb19@hotmail.com>",
"Vinícius Rodrigues Miguel <vrmiguel99@gmail.com>",

View File

@ -1,8 +1,12 @@
#!/usr/bin/env bash
set -e
mkdir -p output_assets
mkdir output_assets
echo "created folder 'output_assets/'"
ls -lA -w 1
cd downloaded_artifacts
echo "entered 'downloaded_artifacts/'"
ls -lA -w 1
TARGETS=(
"aarch64-pc-windows-msvc"
@ -16,7 +20,8 @@ TARGETS=(
"x86_64-unknown-linux-gnu"
"x86_64-unknown-linux-musl"
)
DEFAULT_FEATURES="unrar+use_zlib+use_zstd_thin"
# Temporary, we'll remove allow_piped_choice later
DEFAULT_FEATURES="allow_piped_choice+unrar+use_zlib+use_zstd_thin"
for target in "${TARGETS[@]}"; do
input_dir="ouch-${target}-${DEFAULT_FEATURES}"