From 14ac4d2b60bf6c77690f5d8a04a113f2919d8a30 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Thu, 12 Nov 2020 12:54:56 -0800 Subject: [PATCH] CI: remove last vestiges of Travis --- DEVELOPMENT.md | 10 ++++++---- README.markdown | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 8f514b834b..aabe885bf0 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -10,10 +10,12 @@ go install ./cmd/src ## Releasing 1. If this is a non-patch release, update the changelog. Add a new section `## $MAJOR.MINOR` to [`CHANGELOG.md`](https://github.com/sourcegraph/src-cli/blob/main/CHANGELOG.md#unreleased) immediately under `## Unreleased changes`. Add new empty `Added`, `Changed`, `Fixed`, and `Removed` sections under `## Unreleased changes`. -1. Find the latest version (either via the releases tab on GitHub or via git tags) to determine which version you are releasing. -2. `VERSION=9.9.9 ./release.sh` (replace `9.9.9` with the version you are releasing) -3. Travis will automatically perform the release, which you can find [on the branches tab](https://travis-ci.org/github/sourcegraph/src-cli/branches). Once it has finished, **confirm that the curl commands fetch the latest version above**. -4. Update the `MinimumVersion` constant in the [src-cli package](https://github.com/sourcegraph/sourcegraph/tree/main/internal/src-cli/consts.go). +2. Find the latest version (either via the releases tab on GitHub or via git tags) to determine which version you are releasing. +3. `VERSION=9.9.9 ./release.sh` (replace `9.9.9` with the version you are releasing) +4. GitHub will automatically perform the release via the [goreleaser action](https://github.com/sourcegraph/src-cli/actions?query=workflow%3AGoreleaser). Once it has finished, **you need to confirm**: + 1. The [curl commands in the README](README.markdown#installation) fetch the latest version above. + 2. The [releases section of the repo sidebar](https://github.com/sourcegraph/src-cli) shows the correct version. +5. Update the `MinimumVersion` constant in the [src-cli package](https://github.com/sourcegraph/sourcegraph/tree/main/internal/src-cli/consts.go). ### Patch releases diff --git a/README.markdown b/README.markdown index f849a12731..e429d058ca 100644 --- a/README.markdown +++ b/README.markdown @@ -1,4 +1,4 @@ -# [Sourcegraph](https://sourcegraph.com) CLI [![Build Status](https://travis-ci.org/sourcegraph/src-cli.svg)](https://travis-ci.org/sourcegraph/src-cli) [![Go Report Card](https://goreportcard.com/badge/sourcegraph/src-cli)](https://goreportcard.com/report/sourcegraph/src-cli) +# [Sourcegraph](https://sourcegraph.com) CLI [![Build Status](https://github.com/sourcegraph/src-cli/workflows/Go%20CI/badge.svg)](https://github.com/sourcegraph/src-cli/actions?query=workflow%3A%22Go+CI%22) [![Go Report Card](https://goreportcard.com/badge/sourcegraph/src-cli)](https://goreportcard.com/report/sourcegraph/src-cli)