Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
Use golang pkgcloud-push
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanScherer committed Sep 21, 2018
1 parent e79e520 commit ce3653c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
echo "Circle Tag: $CIRCLE_TAG"

if [ "$CIRCLE_TAG" != "" ]; then
gem install package_cloud
package_cloud push Hypriot/rpi/debian/stretch output/*/raspberrypi-kernel*.deb output/*/linux-libc-dev*.deb
apt-get update
apt-get install -y golang-go
go get github.com/mlafeldt/pkgcloud/...
$HOME/go/bin/pkgcloud-push Hypriot/rpi/debian/stretch output/*/raspberrypi-kernel*.deb output/*/linux-libc-dev*.deb

curl -sSL https://github.com/tcnksm/ghr/releases/download/v0.5.4/ghr_v0.5.4_linux_amd64.zip -o ghr.zip
unzip ghr.zip
Expand Down

0 comments on commit ce3653c

Please sign in to comment.