Skip to content

Commit 2b9da1e

Browse files
committed
Bump version to 0.6.1
1 parent add1793 commit 2b9da1e

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

CHANGELOG.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,16 @@ Categories Used:
1818

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

21-
## [Unreleased](https://github.com/ouch-org/ouch/compare/0.6.0...HEAD)
21+
## [Unreleased](https://github.com/ouch-org/ouch/compare/0.6.1...HEAD)
2222

2323
### New Features
2424
### Improvements
2525
### Bug Fixes
26+
### Tweaks
2627

27-
- Fix .zip crash when file mode isn't present [\#804](https://github.com/ouch-org/ouch/pull/804) ([marcospb19](https://github.com/marcospb19))
28+
## [0.6.1](https://github.com/ouch-org/ouch/compare/0.6.0...0.6.1)
2829

29-
### Tweaks
30+
- Fix .zip crash when file mode isn't present [\#804](https://github.com/ouch-org/ouch/pull/804) ([marcospb19](https://github.com/marcospb19))
3031

3132
## [0.6.0](https://github.com/ouch-org/ouch/compare/0.5.1...0.6.0)
3233

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

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

scripts/package-release-assets.sh

+7-9
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,13 @@ DEFAULT_FEATURES="allow_piped_choice+unrar+use_zlib+use_zstd_thin"
2525

2626
for platform in "${PLATFORMS[@]}"; do
2727
path="ouch-${platform}"
28+
echo "Processing $path"
2829

29-
if [ ! -d "$path" ]; then
30+
if [ ! -d "${path}-${DEFAULT_FEATURES}" ]; then
3031
echo "ERROR: Could not find artifact directory for $platform with default features ($path)"
3132
exit 1
3233
fi
33-
34-
# remove the suffix
35-
mv "ouch-${platform}-${DEFAULT_FEATURES}" "$path"
36-
echo "Processing $path"
34+
mv "${path}-${DEFAULT_FEATURES}" "$path" # remove the annoying suffix
3735

3836
cp ../{README.md,LICENSE,CHANGELOG.md} "$path"
3937
mkdir -p "$path/man"
@@ -47,15 +45,15 @@ for platform in "${PLATFORMS[@]}"; do
4745
mv "$path/target/$platform/release/ouch.exe" "$path"
4846
rm -rf "$path/target"
4947

50-
zip -r "../output_assets/${output_name}.zip" "$path"
51-
echo "Created output_assets/${output_name}.zip"
48+
zip -r "../output_assets/${path}.zip" "$path"
49+
echo "Created output_assets/${path}.zip"
5250
else
5351
mv "$path/target/$platform/release/ouch" "$path"
5452
rm -rf "$path/target"
5553
chmod +x "$path/ouch"
5654

57-
tar czf "../output_assets/${output_name}.tar.gz" "$path"
58-
echo "Created output_assets/${output_name}.tar.gz"
55+
tar czf "../output_assets/${path}.tar.gz" "$path"
56+
echo "Created output_assets/${path}.tar.gz"
5957
fi
6058
done
6159

0 commit comments

Comments
 (0)