diff --git a/.travis.yml b/.travis.yml index 6afce98..effe335 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,17 +49,17 @@ before_deploy: GOOS=${PLATFORM%/*} GOARCH=${PLATFORM#*/} if [ "$GOOS" = "windows" ]; then - build_cmd="GOOS=$GOOS GOARCH=$GOARCH go build -o scccmd -ldflags '-w -s'" + build_cmd="GOOS=$GOOS GOARCH=$GOARCH go build -o git2kube -ldflags '-w -s'" else - build_cmd="CGO_ENABLED=0 GOOS=$GOOS GOARCH=$GOARCH go build -o scccmd -ldflags '-d -w -s'" + build_cmd="CGO_ENABLED=0 GOOS=$GOOS GOARCH=$GOARCH go build -o git2kube -ldflags '-d -w -s'" fi if ! eval $build_cmd; then echo "Failed building sample for $PLATFORM" && return 1 fi if [ "$GOOS" = "windows" ]; then - zip scccmd-${GOOS}-${GOARCH}.zip scccmd + zip git2kube-${GOOS}-${GOARCH}.zip git2kube else - tar cvzf scccmd-${GOOS}-${GOARCH}.tgz scccmd + tar cvzf git2kube-${GOOS}-${GOARCH}.tgz git2kube fi done - ls @@ -67,12 +67,12 @@ before_deploy: deploy: provider: releases api_key: - secure: q+w7Sw9tDrqcVtkTXHSN/dVQlYmN9hceQ+YbPVEc4mKKAUkrIEsdeyvYEyJCwimyCpeMsY4DoIoBG6vBQR7NEVUBaX0xq8KoMB9H93vVKaBxFhHo1KfnzBXqbPCpqfzySX096MMZQWJjbv7pljkYSzREFJhFKln3Ij1DDpt0SeWsjbFdthc05LbRMQpv0K2GWSMY68603sLtBL2s1Xfc5K3XXdIl7Fe94G5NbnqsqWuSShqHYpS4/lZYzzbHvpavXnn2jyNFlhJeyMpojdvrytQu15DEds3FTxmD8tJ9cKcPYPlfQ4cvFIahdHw4t3FEgkpT1cgLpwJgNMSDiGy5pQi5IS/v0CXgXAHKv9UnKLN/pc19PwGCiXH7HkOcYFPWQfOLgm4KQ8Ufx8TISx3GXBi7bWEkmINO9/Zt2ZzCg+KFZmpDD5iQypAue6rs1CTT+59gsJAitNoT+h6YR8PCMbymlwUJ8K40/Fi56vPPJUXVrEei7u0nD2tuZLqR1j0brL5YpRAi/FQvx3DJXrBqwXQDYGI+ksU/qSMSgnyveqiTvobPd3vS5a3hGlFVTzNPcVVv85Ro0SjuwjR2mdUXk/qwwz1BmTfQDsOucs7IBUG6yJfP6vuYQWyXfikC+NJ4MRZ4RpXQWt7JRVpSV/F4aI0zjas5ClMPqYHVj5YYpXU= + secure: E7uRfHkaPKSeWn0UN/NzOOqWLgzJPgUhENL3MJdGXxoscFLLtsZIYmuY7ffwyu46BG34caI3yyDSXPqu9M0M3SPif7pTu2Uw8quqaX7dTJoS7DCFWWCAiqkdSUmLXQAC92AsjiOVQN5hu4QcYaUzNO6p9wWgWGXCShVTSCt71sGM7iW8ur+DcfUrvWsnek5/UrBVgGJNA135jpKxaiE11NUpOEHlUUTJ5aXjyCINTmSVCs4f2wakHQA7KtdhWoj1RPa4DBxBhzYSOLwDKsRDXY432F7mE2li8gM/KxUS5YydKWP5HQVWEiF2Go7jXPqMSkIfyelBsZQCCoypdZPRXr+h9mik4DI6QnM27BY3wQr/t1v/oquFj+U59m4IlBkU7sGsuABMEkAF5mvVn1CYayg8dOxagO2Iz1hp0t3XGtp6nfXuT9eOKLl7MSv8KgLJfLADxsgs/sw3tTVigX3plI/T7ua0RaXg1rsuJ9liPO6zO6PTaTw2SDtZ+ueQwSuES/Ae/BCwGu4tKw9CAi3ezNSAadOgQjvi1Bh66KJSurrAk9ZDrXUB4Bz3ruJrJg9KnQPFuLrtL2dvMRITx6v5VEuvhbk4bzrerftDCc1pz6TwWUS13SAzxKKZwp0pmCAmCu2TRE95k6YMMXlLVWLZ1ASeUrhXZACLk3fppSIuDCk= file: - - "scccmd-darwin-amd64.tgz" - - "scccmd-freebsd-amd64.tgz" - - "scccmd-linux-amd64.tgz" - - "scccmd-windows-amd64.zip" + - "git2kube-darwin-amd64.tgz" + - "git2kube-freebsd-amd64.tgz" + - "git2kube-linux-amd64.tgz" + - "git2kube-windows-amd64.zip" skip_cleanup: true on: tags: true