added releaser

This commit is contained in:
2022-10-21 01:39:22 +02:00
parent 054c165954
commit 564c76c38b
4 changed files with 233 additions and 0 deletions

14
ci/cargo-out-dir Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
if [ $# != 1 ]; then
echo "Usage: $(basename "$0") <target-dir>" >&2
exit 2
fi
# This works by finding the most recent stamp file, which is produced by
# every ripgrep build.
target_dir="$1"
find "$target_dir" -name kignore-stamp -print0 \
| xargs -0 ls -t \
| head -n1 \
| xargs dirname