Files
WPIQ/tests/issue.sh

24 lines
1.0 KiB
Bash
Raw Permalink Normal View History

2019-08-27 22:49:54 +02:00
#!/usr/bin/env bash
# -------------------------------------------------------------------------
# WordOps support script
# -------------------------------------------------------------------------
# Website: https://wordops.net
# GitHub: https://github.com/WordOps/WordOps
# Copyright (c) 2024 - WordOps
2019-08-27 22:49:54 +02:00
# This script is licensed under M.I.T
# -------------------------------------------------------------------------
2019-08-27 23:41:53 +02:00
# curl -sL git.io/fjAp3 | sudo -E bash -
2019-08-27 22:49:54 +02:00
# -------------------------------------------------------------------------
# Version 3.21.0 - 2024-05-29
2019-08-27 22:49:54 +02:00
# -------------------------------------------------------------------------
if [ -f /var/log/wo/wordops.log ]; then
cd /var/log/wo/ || exit 1
sed -E 's/([a-zA-Z0-9.-]+\.)?[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/domain.anonymized/g' /var/log/wo/wordops.log >/var/log/wo/wordops-issue.log
wo_link=$(curl -sL --upload-file wordops-issue.log https://transfer.vtbox.net/wordops.txt)
2019-10-09 17:39:55 +02:00
echo
echo "Here the link to provide in your github issue : $wo_link"
echo
2019-08-27 22:49:54 +02:00
cd || exit 1
fi