From 5128e5511602b46e0400fa2a7bf105fb3223aefe Mon Sep 17 00:00:00 2001 From: Peter L Jones Date: Tue, 12 Sep 2023 17:11:31 +0100 Subject: [PATCH] Fix link to weblate (I thought I had pushed this, too) --- tools/create-translation-issues.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/create-translation-issues.sh b/tools/create-translation-issues.sh index 11e195e01b..61e79530a6 100755 --- a/tools/create-translation-issues.sh +++ b/tools/create-translation-issues.sh @@ -56,9 +56,6 @@ fi LOGGED_IN_AS=$(gh auth status | grep Logged | sed -e 's/^.*Logged in .*as //' -e 's/ ([^)]*)$//') -# shellcheck disable=SC2034 # shellcheck can't know that this will be used with envsubst, so "unused" variable is correct here. -START_DATE=$(date -Idate) - RELEASE=$1 DEADLINE=$2 TYPE=$3 @@ -66,6 +63,9 @@ EXTRA_TEXT=${4:-} MILESTONE="Release ${RELEASE}" PROJECT=Tracking +# shellcheck disable=SC2034 # shellcheck can't know that this will be used with envsubst, so "unused" variable is correct here. +START_DATE=$(date -Idate) + # Syntax: # TRANSLATORS_BY_LANG[TYPE_LANG]="github-handle1,github-handle2" # with TYPE being either app or web and @@ -230,6 +230,7 @@ create_translation_issue_for_lang() { SPLIT_TRANSLATORS=$(sed -re 's/^/@/; s/,/, @/g' <<< "$translators") \ TITLE="$title" \ TRANSLATE_BRANCH=next-release \ + START_DATE="$START_DATE" \ envsubst <<< "$body_template" )