mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 09:37:02 +00:00
travis: Eliminate travis-deploy.sh
This commit is contained in:
@@ -4,6 +4,7 @@ env:
|
||||
global:
|
||||
- GO111MODULE=on
|
||||
|
||||
# deploy will use first go version listed below.
|
||||
language: go
|
||||
go:
|
||||
- "1.11.x"
|
||||
@@ -25,7 +26,8 @@ jobs:
|
||||
language: elm
|
||||
elm: "0.19.0"
|
||||
- stage: deploy
|
||||
script: "etc/travis-deploy.sh"
|
||||
install: "true"
|
||||
script: "curl -sL https://git.io/goreleaser | bash"
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
# travis-deploy.sh
|
||||
# description: Trigger goreleaser deployment
|
||||
|
||||
set -eo pipefail
|
||||
set -x
|
||||
|
||||
# downloading deps probably added to go.mod and go.sum, goreleaser will fail.
|
||||
git reset --hard
|
||||
git clean -dfx
|
||||
|
||||
# build release.
|
||||
curl -sL https://git.io/goreleaser | bash
|
||||
Reference in New Issue
Block a user