1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore: make {merge,test}-pr.sh scripts accept hash-preceded PR number

Previously one needed to provide only digits, (e.g. `123`), otherwise
scripts would fail to recognise supplied argument as an issue number.

Github almost everywhere precedes PR numbers with hash sign, so it might
be easier/faster to copypaste PR number with along with preceding hash.

With the change scripts will ignore the first preceding hash in the
supplied PR number.
This commit is contained in:
Zetok Zalbavar 2018-09-28 21:15:10 +01:00
parent 39dc6dacb8
commit 0796434fdf
No known key found for this signature in database
GPG Key ID: C953D3880212068A
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
set -e -o pipefail
readonly PR=$1
readonly PR="${1###}"
# make sure to add newlines to the message, otherwise merge message
# will not look well

View File

@ -30,7 +30,7 @@
set -e -o pipefail
readonly PR=$1
readonly PR="${1###}"
# make sure to add newlines to the message, otherwise merge message
# will not look well