use remove_file_or_dir to remove dir check
[ouch.git] / release-helper.sh
blob7f0ca596908784955adf6fae383f6937e0410dd8
1 #! /usr/bin/sh
3 # Small script to help decompressing files from the CI to make manual releases
5 set -e
7 ouch --version
9 rm release -r || true
11 ouch decompress ouch-x86_64-pc-windows-msvc.exe.zip --dir release
12 mv release/ouch.exe release/ouch-x86_64-pc-windows-msvc.exe
14 ouch decompress ouch-x86_64-apple-darwin.zip --dir release
15 mv release/ouch release/ouch-x86_64-apple-darwin
17 ouch decompress ouch-x86_64-unknown-linux-musl.zip --dir release
18 mv release/ouch release/ouch-x86_64-linux-musl
20 dragon-drag-and-drop release/*