You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Configure the qbt_workflow_archive_url associative array for all the applications this script uses and we call them as ${qbt_workflow_archive_url[app_name]}
# Start to define the default master branch we will use by transforming the app_version[libtorrent] variable to underscores. The result is dynamic and can be: RC_1_0, RC_1_1, RC_1_2, RC_2_0, RC_2_1 and so on.
1734
-
default_jamfile="${app_version[libtorrent]//./_}"
1735
-
1736
-
# Remove everything after second underscore. Occasionally the tag will be short, like v2.0 or v2.1 so we need to make sure not remove the underscore if there is only one present.
1737
-
local underscores="${default_jamfile//[^_]/}"
1738
-
if [[ ${#underscores}-le 1 ]];then
1739
-
default_jamfile="RC_${default_jamfile}"
1740
-
else
1741
-
default_jamfile="RC_${default_jamfile%_*}"
1742
-
fi
1733
+
# Start to define the default master branch we will use by transforming the qbt_libtorrent_version variable to underscores. The result is dynamic and can be: RC_1_0, RC_1_1, RC_1_2, RC_2_0, RC_2_1 and so on.
[[ ${github_tag[libtorrent]}=~ ^RC_ ]] && app_version[libtorrent]="RC_${app_version[libtorrent]//\./_}"# set back to RC_... so that release info has proper version context
# Configure the qbt_workflow_archive_url associative array for all the applications this script uses and we call them as ${qbt_workflow_archive_url[app_name]}
# Start to define the default master branch we will use by transforming the app_version[libtorrent] variable to underscores. The result is dynamic and can be: RC_1_0, RC_1_1, RC_1_2, RC_2_0, RC_2_1 and so on.
1734
-
default_jamfile="${app_version[libtorrent]//./_}"
1735
-
1736
-
# Remove everything after second underscore. Occasionally the tag will be short, like v2.0 or v2.1 so we need to make sure not remove the underscore if there is only one present.
1737
-
local underscores="${default_jamfile//[^_]/}"
1738
-
if [[ ${#underscores}-le 1 ]];then
1739
-
default_jamfile="RC_${default_jamfile}"
1740
-
else
1741
-
default_jamfile="RC_${default_jamfile%_*}"
1742
-
fi
1733
+
# Start to define the default master branch we will use by transforming the qbt_libtorrent_version variable to underscores. The result is dynamic and can be: RC_1_0, RC_1_1, RC_1_2, RC_2_0, RC_2_1 and so on.
[[ ${github_tag[libtorrent]}=~ ^RC_ ]] && app_version[libtorrent]="RC_${app_version[libtorrent]//\./_}"# set back to RC_... so that release info has proper version context
0 commit comments