From 499f489511b2a93c6bdc4ae4828914aa193bcad1 Mon Sep 17 00:00:00 2001 From: Paul Salaberria Date: Mon, 18 Sep 2023 11:01:55 +0200 Subject: [PATCH] Add v prefix to versions to be compatible with go.mod (#169) --- .github/workflows/release.yaml | 2 +- RELEASING.md | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b6c0fb85..afae13bf 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -4,7 +4,7 @@ name: Release on: push: tags: - - "*.*.*" + - "v*.*.*" jobs: build: diff --git a/RELEASING.md b/RELEASING.md index f7dd5e10..eab47568 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,4 +1,6 @@ # Releasing Bazel-snapshots -To release a new version of Bazel-snapshots, create a new git tag in following semver versioning format, eks. `x.y.z`. When a tag of this format is pushed -to Github the release action will run and generate a new draft Github Release. The draft can be promoted to a proper release at your convenience after you've verified that everything looks right in the draft. +To release a new version of Bazel-snapshots, create a new git tag in following semver versioning format, eks. `vx.y.z`. +The v prefix is necessary for being able to import it from a go.mod. +When a tag of this format is pushed to Github the release action will run and generate a new draft Github Release. +The draft can be promoted to a proper release at your convenience after you've verified that everything looks right in the draft.