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**
## [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

2
Cargo.lock generated
View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "ouch"
version = "0.6.0"
version = "0.6.1"
authors = [
"João Marcos <marcospb19@hotmail.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
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