cphub_push.bat 300 Bytes
Newer Older
Mike Mathews's avatar
Mike Mathews committed
@ECHO OFF
if [%1]==[] goto usage

set specfile="v1_spec.json"
set tag=%1
ECHO Pushing Vibration Sensor Application version %1
cphub push -v -l -s %specfile% cpflexapp "./vibration-sensor.bin" nali/applications/vibration-sensor:%tag%
goto :eof
:usage
@echo Usage: %0 ^<tag (e.g. v1.0.2.3)^>
exit /B 1