Skip to content

Commit 0e0f44e

Browse files
committed
identify new integration release numbers
1 parent 8850a5c commit 0e0f44e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/jobs/release/website/archives

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ declare -a sshCharaArgs="$sshCharaArgs"
44

55
url="http://downloads.lightbend.com/scala/$version"
66

7-
if [[ "$version" =~ .*-nightly ]]
7+
if [[ "$version" =~ ^.*-(bin|pre)-[0-9a-f]+$ ]]
88
then archivesDir="~linuxsoft/archives/scala/nightly/2.12.x"
99
else archivesDir="~linuxsoft/archives/scala"
1010
fi

scripts/jobs/release/website/update-api

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# need to re-declare it as an array, not sure how to do that directly in jenkins
33
declare -a sshCharaArgs="$sshCharaArgs"
44

5-
if [[ "$version" =~ .*-nightly ]]
5+
if [[ "$version" =~ ^.*-(bin|pre)-[0-9a-f]+$ ]]
66
then archivesDir="~linuxsoft/archives/scala/nightly/2.12.x"
77
else archivesDir="~linuxsoft/archives/scala"
88
fi

0 commit comments

Comments
 (0)