From 5f1342a79d9f8b0ae9c4759aa52ad3841b94194e Mon Sep 17 00:00:00 2001 From: Andrii Soldatenko Date: Tue, 19 Mar 2019 22:51:37 +0200 Subject: [PATCH] Add gitHub pre-releases on alpha, beta, rc versions (#200) * Add gitHub pre-releases on alpha, beta, rc versions * bump gorlease version --- .drone.yml | 2 +- .goreleaser.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 0c82cea05..a7a08d1ba 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,7 +17,7 @@ pipeline: # Cut releases with goreleaser when tagged push: - image: goreleaser/goreleaser:v0.86 + image: goreleaser/goreleaser:v0.103 secrets: [ github_token ] commands: - git fetch --no-tags origin +refs/tags/${DRONE_TAG}:refs/tags/${DRONE_TAG} diff --git a/.goreleaser.yml b/.goreleaser.yml index ff7a66731..bc1b5d840 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -3,6 +3,9 @@ release: github: owner: astronomer name: astro-cli + # If set to auto, will mark the release as not ready for production + # in case there is an indicator for this in the tag e.g. v1.0.0-rc1 + prerelease: auto brew: install: bin.install "astro" builds: