Last change
on this file since 37916 was 37916, checked in by anupama, 10 months ago |
Mac expeditee release kits expects product names to end Mac-intel.dmg, not something custom, which makes sense.
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | export RELEASES_DIR=/Users/greenstone/RELEASES
|
---|
4 | export EXPEDITEE_RELEASES_DIR=/Users/greenstone/expeditee-release-kits
|
---|
5 |
|
---|
6 |
|
---|
7 | # $currentdir should have been set to the parent folder of expeditee-release-kits
|
---|
8 |
|
---|
9 | #export os=darwin
|
---|
10 | export os=MacOS
|
---|
11 |
|
---|
12 | #export products_suffix=-${os}-Monterey
|
---|
13 | export products_suffix=-${os}-intel.dmg
|
---|
14 |
|
---|
15 | export uploads_suffix=${products_suffix}
|
---|
16 | export out_suffix=-${products_suffix}
|
---|
17 | # path to the private key
|
---|
18 | export identity_file=/Users/greenstone/.ssh/upload-expeditee-ed25519
|
---|
19 |
|
---|
20 | # Need to use a JDK8!!
|
---|
21 | export JAVA_HOME=$RELEASES_DIR/JDK8u301/Home
|
---|
22 | #for MAC: export JAVA_HOME=$currentdir/JDK8Contents/Home
|
---|
23 | export PATH=$JAVA_HOME/bin:$PATH
|
---|
24 | echo "JAVA_HOME set to: $JAVA_HOME and bin added to PATH"
|
---|
25 |
|
---|
26 | # leave commented out for Mac if ANT_HOME set
|
---|
27 | # and if its bin and SVN/bin already on PATH
|
---|
28 | #export ANT_HOME=
|
---|
29 | export ANT_HOME=$RELEASES_DIR/ant-1.9.4
|
---|
30 | export PATH=$ANT_HOME/bin:$PATH
|
---|
31 | echo "ANT_HOME set to: $ANT_HOME and bin added to PATH"
|
---|
32 |
|
---|
33 | #export SVN_HOME=
|
---|
34 | #export PATH=$SVN_HOME/bin:$PATH
|
---|
35 | #echo "SVN_HOME set to: $SVN_HOME"
|
---|
36 |
|
---|
37 | export PATH=$currentdir/bin:$PATH
|
---|
38 | echo "ADDED $currentdir/bin to $PATH"
|
---|
39 |
|
---|
40 |
|
---|
41 |
|
---|
42 |
|
---|
43 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.