-
Notifications
You must be signed in to change notification settings - Fork 16
/
create-pkg.sh
26 lines (18 loc) · 683 Bytes
/
create-pkg.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh -e
# deprecated script
echo "You are using a deprecated script. please update your build with latest changes on go-github-release"
# this is an helper
# to use into your travis file
# golang is required.
#
# to use it
# curl -L https://raw.githubusercontent.com/mh-cbon/go-bin-deb/master/create-pkg.sh \
# | GH=YOUR/REPO sh -xe
if [ "${GH}" = "mh-cbon/go-bin-deb" ]; then
git pull origin master
git checkout -b master
fi
go get -u github.com/mh-cbon/go-bin-deb/go-bin-deb-utils
go-bin-deb-utils create-packages -push -keep -repo=$GH
# deprecated script
echo "You are using a deprecated script. please update your build with latest changes on go-github-release"