Bump version to 0.6.1

This commit is contained in:
João Marcos 2025-04-20 16:21:31 -03:00
parent add1793d75
commit 2b9da1e441
4 changed files with 13 additions and 14 deletions

View File

@ -18,16 +18,17 @@ Categories Used:
**Bullet points in chronological order by PR** **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 ### New Features
### Improvements ### Improvements
### Bug Fixes ### 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)) - 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) ## [0.6.0](https://github.com/ouch-org/ouch/compare/0.5.1...0.6.0)
### New Features ### New Features

2
Cargo.lock generated
View File

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

View File

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

View File

@ -25,15 +25,13 @@ DEFAULT_FEATURES="allow_piped_choice+unrar+use_zlib+use_zstd_thin"
for platform in "${PLATFORMS[@]}"; do for platform in "${PLATFORMS[@]}"; do
path="ouch-${platform}" 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)" echo "ERROR: Could not find artifact directory for $platform with default features ($path)"
exit 1 exit 1
fi fi
mv "${path}-${DEFAULT_FEATURES}" "$path" # remove the annoying suffix
# remove the suffix
mv "ouch-${platform}-${DEFAULT_FEATURES}" "$path"
echo "Processing $path"
cp ../{README.md,LICENSE,CHANGELOG.md} "$path" cp ../{README.md,LICENSE,CHANGELOG.md} "$path"
mkdir -p "$path/man" mkdir -p "$path/man"
@ -47,15 +45,15 @@ for platform in "${PLATFORMS[@]}"; do
mv "$path/target/$platform/release/ouch.exe" "$path" mv "$path/target/$platform/release/ouch.exe" "$path"
rm -rf "$path/target" rm -rf "$path/target"
zip -r "../output_assets/${output_name}.zip" "$path" zip -r "../output_assets/${path}.zip" "$path"
echo "Created output_assets/${output_name}.zip" echo "Created output_assets/${path}.zip"
else else
mv "$path/target/$platform/release/ouch" "$path" mv "$path/target/$platform/release/ouch" "$path"
rm -rf "$path/target" rm -rf "$path/target"
chmod +x "$path/ouch" chmod +x "$path/ouch"
tar czf "../output_assets/${output_name}.tar.gz" "$path" tar czf "../output_assets/${path}.tar.gz" "$path"
echo "Created output_assets/${output_name}.tar.gz" echo "Created output_assets/${path}.tar.gz"
fi fi
done done