mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
travis: Eliminate travis-deploy.sh
This commit is contained in:
@@ -4,6 +4,7 @@ env:
|
|||||||
global:
|
global:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
|
|
||||||
|
# deploy will use first go version listed below.
|
||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- "1.11.x"
|
- "1.11.x"
|
||||||
@@ -25,7 +26,8 @@ jobs:
|
|||||||
language: elm
|
language: elm
|
||||||
elm: "0.19.0"
|
elm: "0.19.0"
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
script: "etc/travis-deploy.sh"
|
install: "true"
|
||||||
|
script: "curl -sL https://git.io/goreleaser | bash"
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
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