File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
scripts/jobs/release/website Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ declare -a sshCharaArgs="$sshCharaArgs"
4
4
5
5
url=" http://downloads.lightbend.com/scala/$version "
6
6
7
- if [[ " $version " =~ .* -nightly ]]
7
+ if [[ " $version " =~ ^ .* -(bin | pre)-[0-9a-f]+$ ]]
8
8
then archivesDir=" ~linuxsoft/archives/scala/nightly/2.12.x"
9
9
else archivesDir=" ~linuxsoft/archives/scala"
10
10
fi
Original file line number Diff line number Diff line change 2
2
# need to re-declare it as an array, not sure how to do that directly in jenkins
3
3
declare -a sshCharaArgs=" $sshCharaArgs "
4
4
5
- if [[ " $version " =~ .* -nightly ]]
5
+ if [[ " $version " =~ ^ .* -(bin | pre)-[0-9a-f]+$ ]]
6
6
then archivesDir=" ~linuxsoft/archives/scala/nightly/2.12.x"
7
7
else archivesDir=" ~linuxsoft/archives/scala"
8
8
fi
You can’t perform that action at this time.
0 commit comments