Ignore:
Timestamp:
2016-03-09T17:16:26+13:00 (8 years ago)
Author:
ak19
Message:

Fixed values in environment setup file, and used as variables in create-expeditee.bat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/expeditee-release-kits/create-expeditee.bat

    r30395 r30397  
    4747:: Uploading
    4848mkdir uploads
    49 copy products\Expeditee-1-windows.exe uploads\Expeditee-1-%mydate%-windows.exe
    50 copy rke.out uploads\rke-%mydate%-windows.out
     49copy products\Expeditee-1-%products_suffix%.exe uploads\Expeditee-1-%mydate%-%uploads_suffix%.exe
     50copy rke.out uploads\rke-%mydate%-%os_suffix%.out
    5151set PATH=C:\Windows\System32\linuxtools;C:\Program Files (x86)\PuTTY2;%PATH%
    5252:: Works from the cmd line:
    53 :: cd uploads && tar.exe -c * | plink.exe -T -i "C:\Research\Nightly\tools\keys\upload-expeditee.ppk" anupama@wharariki.cms.waikato.ac.nz
    54 rem set identity_file=C:\Research\Nightly\tools\keys\upload-expeditee.ppk
     53:: cd uploads && tar.exe -c * | plink.exe -T -i "C:\Research\Nightly\tools\keys\upload-expeditee.ppk" USER@MACHINE.cms.waikato.ac.nz
     54
    5555:: The following setcmd ends up partially running the cmd and uploading everything in snapshots\expeditee onto the remote machine
    56 rem set upload_cmd=cd uploads && tar -c * | plink -T -i "C:\Research\Nightly\tools\keys\upload-expeditee.ppk" anupama@wharariki.cms.waikato.ac.nz
     56rem set upload_cmd=cd uploads && tar -c * | plink -T -i "C:\Research\Nightly\tools\keys\upload-expeditee.ppk" USER@MACHINE.cms.waikato.ac.nz
    5757rem echo %upload_cmd%
    58 cd uploads && tar -c * | plink -T -i "C:\Research\Nightly\tools\keys\upload-expeditee.ppk" [email protected]
     58cd uploads && tar -c * | plink -T -i "%identity_file%" [email protected]
    5959
    6060:end
Note: See TracChangeset for help on using the changeset viewer.