From acd1632cd82668563176a233f37ffb13b2d6dacd Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Thu, 26 Oct 2023 13:17:30 +0800 Subject: [PATCH] docs: Prepare for v0.1.8 release (#61) --- .github/workflows/release.yml | 15 +++++++++++---- CHANGELOG.md | 6 ++++++ internal/index/version.txt | 2 +- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f8a8419..7392987 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,13 +9,20 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - - name: Checkout + - name: Checkout uses: actions/checkout@v3 with: fetch-depth: 0 - - - name: Set up Go + - name: Check direct push + run: | + VERSION_FILE_PATH="internal/index/version.txt" + if ! grep -q "${TAG/v/}" "$VERSION_FILE_PATH"; then + echo "error: scip-go version in $VERSION_FILE_PATH doesn't match NEW_VERSION=$NEW_VERSION" + exit 1 + fi + env: + TAG: ${{ github.ref_name }} + - name: Set up Go uses: actions/setup-go@v4 with: go-version: 1.19.x diff --git a/CHANGELOG.md b/CHANGELOG.md index 93eb5e0..c547708 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1 +1,7 @@ # ChangeLog + +## v0.1.8 + +- Fixed the version number emitted in SCIP indexes + and printed by `scip-go --version`. + (https://github.com/sourcegraph/scip-go/pull/60) diff --git a/internal/index/version.txt b/internal/index/version.txt index 1180819..699c6c6 100644 --- a/internal/index/version.txt +++ b/internal/index/version.txt @@ -1 +1 @@ -0.1.7 +0.1.8