From 2b9da1e4414870fa0c87b0bd711a17d165777c0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marcos?= Date: Sun, 20 Apr 2025 16:21:31 -0300 Subject: [PATCH] Bump version to 0.6.1 --- CHANGELOG.md | 7 ++++--- Cargo.lock | 2 +- Cargo.toml | 2 +- scripts/package-release-assets.sh | 16 +++++++--------- 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e622b9c..a80d90c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,16 +18,17 @@ Categories Used: **Bullet points in chronological order by PR** -## [Unreleased](https://github.com/ouch-org/ouch/compare/0.6.0...HEAD) +## [Unreleased](https://github.com/ouch-org/ouch/compare/0.6.1...HEAD) ### New Features ### Improvements ### Bug Fixes +### Tweaks + +## [0.6.1](https://github.com/ouch-org/ouch/compare/0.6.0...0.6.1) - Fix .zip crash when file mode isn't present [\#804](https://github.com/ouch-org/ouch/pull/804) ([marcospb19](https://github.com/marcospb19)) -### Tweaks - ## [0.6.0](https://github.com/ouch-org/ouch/compare/0.5.1...0.6.0) ### New Features diff --git a/Cargo.lock b/Cargo.lock index 59bd16a..c95299d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1066,7 +1066,7 @@ checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e" [[package]] name = "ouch" -version = "0.6.0" +version = "0.6.1" dependencies = [ "assert_cmd", "atty", diff --git a/Cargo.toml b/Cargo.toml index 1fe8b82..835e55f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ouch" -version = "0.6.0" +version = "0.6.1" authors = [ "João Marcos ", "Vinícius Rodrigues Miguel ", diff --git a/scripts/package-release-assets.sh b/scripts/package-release-assets.sh index 65d1255..621f28e 100755 --- a/scripts/package-release-assets.sh +++ b/scripts/package-release-assets.sh @@ -25,15 +25,13 @@ DEFAULT_FEATURES="allow_piped_choice+unrar+use_zlib+use_zstd_thin" for platform in "${PLATFORMS[@]}"; do path="ouch-${platform}" + echo "Processing $path" - if [ ! -d "$path" ]; then + if [ ! -d "${path}-${DEFAULT_FEATURES}" ]; then echo "ERROR: Could not find artifact directory for $platform with default features ($path)" exit 1 fi - - # remove the suffix - mv "ouch-${platform}-${DEFAULT_FEATURES}" "$path" - echo "Processing $path" + mv "${path}-${DEFAULT_FEATURES}" "$path" # remove the annoying suffix cp ../{README.md,LICENSE,CHANGELOG.md} "$path" mkdir -p "$path/man" @@ -47,15 +45,15 @@ for platform in "${PLATFORMS[@]}"; do mv "$path/target/$platform/release/ouch.exe" "$path" rm -rf "$path/target" - zip -r "../output_assets/${output_name}.zip" "$path" - echo "Created output_assets/${output_name}.zip" + zip -r "../output_assets/${path}.zip" "$path" + echo "Created output_assets/${path}.zip" else mv "$path/target/$platform/release/ouch" "$path" rm -rf "$path/target" chmod +x "$path/ouch" - tar czf "../output_assets/${output_name}.tar.gz" "$path" - echo "Created output_assets/${output_name}.tar.gz" + tar czf "../output_assets/${path}.tar.gz" "$path" + echo "Created output_assets/${path}.tar.gz" fi done