| #!/bin/bash | |
| # Builds and uploads a debian package for Grafana. | |
| APPNAME=grafanad | |
| DESCRIPTION="A local cache of the Grafana debian package." | |
| # Don't run the step where we generate an .deb file, we are actually | |
| # copying in the .deb file to be managed. | |
| BYPASS_GENERATION=true | |
| set -x -e | |
| # Copy files into the right locations in ${ROOT}. | |
| copy_release_files() | |
| { | |
| wget https://grafanarel.s3.amazonaws.com/builds/grafana_4.0.2-1481203731_amd64.deb -O ${ROOT}/${APPNAME}.deb | |
| } | |
| source ../bash/release.sh |