Skip to content

Commit

Permalink
Add v prefix to versions to be compatible with go.mod (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
psalaberria002 authored Sep 18, 2023
1 parent b02ab2c commit 499f489
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Release
on:
push:
tags:
- "*.*.*"
- "v*.*.*"

jobs:
build:
Expand Down
6 changes: 4 additions & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 499f489

Please sign in to comment.