fix make-tgz-release

This commit is contained in:
ed 2021-09-24 01:23:06 +02:00
parent d4630af35f
commit 871dd8ab99
1 changed files with 0 additions and 10 deletions

View File

@ -52,8 +52,6 @@ tgz_path="$out_dir/r0c-$ver.tar.gz"
rm "$zip_path" 2>/dev/null || true
rm "$tgz_path" 2>/dev/null || true
#sed -ri 's/^(ADMIN_PWD *= *u).*/\1"hunter2"/' r0c/config.py
tmp="$(mktemp -d)"
rls_dir="$tmp/r0c-$ver"
mkdir "$rls_dir"
@ -65,13 +63,6 @@ cd "$rls_dir"
find -type d -exec chmod 755 '{}' \+
find -type f -exec chmod 644 '{}' \+
grep -qE 'ADMIN_PWD *= *u"hunter2"' r0c/config.py ||
{
echo "password not hunter2"
rm -rf "$tmp"
exit 1
}
commaver="$(
printf '%s\n' "$ver" |
sed -r 's/\./, /g'
@ -94,7 +85,6 @@ grep -qE "^VERSION *= \(${commaver}\)$" r0c/__version__.py ||
rm -rf .vscode
rm \
r0c.sublime-project \
.editorconfig \
.gitattributes \
.gitignore