UNPKG

share2nightscout-bridge

Version:

Fetches data from Dexcom's webservice and puts it in Nightscout.

35 lines (32 loc) 1.02 kB
box: node:current build: steps: - script: name: "install prereqs" code: |- sudo apt-get update sudo apt-get install -y zip - script: name: "npm install" code: |- pwd npm install git archive -o nightscout-sidecar.zip HEAD zip -r nightscout-sidecar.zip node_modules/ zipinfo nightscout-sidecar.zip cp nightscout-sidecar.zip $WERCKER_OUTPUT_DIR/ node -p 'require("./package.json").version' | tee $WERCKER_OUTPUT_DIR/version deploy: steps: - script: name: "debug check on things" code: ls -alh - script: name: "get current version" code: export APP_VERSION=$(cat version) - github-create-release: token: $GITHUB_TOKEN tag: $APP_VERSION - github-upload-asset: token: $GITHUB_TOKEN file: nightscout-sidecar.zip