-
Notifications
You must be signed in to change notification settings - Fork 166
/
Copy pathpromote_nightly.sh
executable file
·62 lines (41 loc) · 1.17 KB
/
promote_nightly.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env bash
set -e
site=$1
__dirname="$(CDPATH= cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [ "X$site" != "Xiojs" ] && [ "X$site" != "Xnodejs" ]; then
echo "Usage: promote_nightly.sh < iojs | nodejs >"
exit 1
fi
. ${__dirname}/settings
srcdir=$nightly_srcdir
dstdir=$nightly_dstdir
dirmatch=$nightly_dirmatch
. ${__dirname}/_promote.sh $site
srcdir=$next_nightly_srcdir
dstdir=$next_nightly_dstdir
dirmatch=$next_nightly_dirmatch
. ${__dirname}/_promote.sh $site
srcdir=$rc_srcdir
dstdir=$rc_dstdir
dirmatch=$rc_dirmatch
. ${__dirname}/_promote.sh $site
srcdir=$test_srcdir
dstdir=$test_dstdir
dirmatch=$test_dirmatch
. ${__dirname}/_promote.sh $site
srcdir=$v8_canary_srcdir
dstdir=$v8_canary_dstdir
dirmatch=$v8_canary_dirmatch
. ${__dirname}/_promote.sh $site
srcdir=$chakracore_nightly_srcdir
dstdir=$chakracore_nightly_dstdir
dirmatch=$chakracore_nightly_dirmatch
. ${__dirname}/_promote.sh $site
srcdir=$chakracore_rc_srcdir
dstdir=$chakracore_rc_dstdir
dirmatch=$chakracore_rc_dirmatch
. ${__dirname}/_promote.sh $site
srcdir=$chakracore_release_srcdir
dstdir=$chakracore_release_dstdir
dirmatch=$chakracore_release_dirmatch
. ${__dirname}/_promote.sh $site