Skip to content

Commit

Permalink
remove self-update
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdul Dakkak committed Apr 4, 2019
1 parent 9c7b88f commit 47460ca
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 100 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ before_install:
- go get github.com/ahmetb/govvv
- go get github.com/mitchellh/gox
- go get github.com/tcnksm/ghr
- go get github.com/sanbornm/go-selfupdate
- go get github.com/laher/bump/...
- go get github.com/gordonklaus/ineffassign
- go get github.com/client9/misspell/cmd/misspell
Expand All @@ -39,7 +38,6 @@ script:
# -flags) -s -w -X main.AppSecret=${APP_SECRET} -extldflags \"-static\"" -output="${DIST}/${VERSION}/{{.OS}}-{{.Arch}}/{{.Dir}}"
# .
before_deploy:
- echo "go-selfupdate generating bindiffs"
- mkdir -p ${DIST}/${VERSION}/binaries
- mkdir -p ${DIST}/latest
- tar --transform 's/.*\///g' -czvf ${DIST}/${VERSION}/binaries/darwin-386 ${DIST}/${VERSION}/darwin-386/rai ${TRAVIS_BUILD_DIR}/LICENSE.TXT
Expand All @@ -66,7 +64,6 @@ before_deploy:
${TRAVIS_BUILD_DIR}/VERSION || true
- tar --transform 's/.*\///g' -czvf ${DIST}/${VERSION}/binaries/windows-amd64 ${DIST}/${VERSION}/windows-amd64/rai.exe
${TRAVIS_BUILD_DIR}/LICENSE.TXT ${TRAVIS_BUILD_DIR}/VERSION || true
- go-selfupdate -o ${DIST}/updates ${DIST}/${VERSION}/binaries/ ${VERSION}
- cp ${DIST}/${VERSION}/binaries/darwin-386 ${DIST}/latest/darwin-386.tar.gz || true
- cp ${DIST}/${VERSION}/binaries/darwin-amd64 ${DIST}/latest/darwin-amd64.tar.gz || true
- cp ${DIST}/${VERSION}/binaries/linux-386 ${DIST}/latest/linux-386.tar.gz || true
Expand Down
3 changes: 0 additions & 3 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@
branch = "master"
name = "github.com/rai-project/utils"

[[constraint]]
branch = "master"
name = "github.com/sanbornm/go-selfupdate"

[[constraint]]
branch = "master"
Expand Down
68 changes: 0 additions & 68 deletions cmd/selfupdate.go

This file was deleted.

49 changes: 23 additions & 26 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
package: github.com/rai-project/rai
import:
- package: golang.org/x/sys
version: master
- package: github.com/opencontainers/runc
version: master
- package: github.com/GeertJohan/go-sourcepath
- package: github.com/Unknwon/com
version: ^1.0.0
- package: github.com/fatih/color
- package: github.com/mitchellh/go-homedir
- package: github.com/pkg/errors
version: ~0.8.0
- package: github.com/rai-project/auth
subpackages:
- provider
- package: github.com/rai-project/client
- package: github.com/rai-project/cmd
- package: github.com/rai-project/config
- package: github.com/rai-project/logger
subpackages:
- hooks
- package: github.com/sanbornm/go-selfupdate
subpackages:
- selfupdate
- package: github.com/spf13/cobra
- package: github.com/spf13/viper
- package: gopkg.in/yaml.v2
- package: golang.org/x/sys
version: master
- package: github.com/opencontainers/runc
version: master
- package: github.com/GeertJohan/go-sourcepath
- package: github.com/Unknwon/com
version: ^1.0.0
- package: github.com/fatih/color
- package: github.com/mitchellh/go-homedir
- package: github.com/pkg/errors
version: ~0.8.0
- package: github.com/rai-project/auth
subpackages:
- provider
- package: github.com/rai-project/client
- package: github.com/rai-project/cmd
- package: github.com/rai-project/config
- package: github.com/rai-project/logger
subpackages:
- hooks
- package: github.com/spf13/cobra
- package: github.com/spf13/viper
- package: gopkg.in/yaml.v2

0 comments on commit 47460ca

Please sign in to comment.