Skip to content

Commit cd7fdd2

Browse files
committed
Release only the API module
We only care about the releases of the API module and for it to be fetched as a versioned go module the tag syntax needs to be `<path>/v<version>`, so let's go with that.
1 parent aa8993d commit cd7fdd2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ jobs:
5151
set -o pipefail
5252
set -o nounset
5353
54-
latest=$(git describe --tags $(git rev-list --tags --max-count=1) 2>/dev/null || echo 0.1.0)
54+
latest=$(git describe --tags $(git rev-list --tags --max-count=1) 2>/dev/null || echo api/v0.1.0)
5555
echo "version="${latest%.*}".$(git rev-list --count "${latest}"..HEAD || echo 0)" >> "$GITHUB_ENV"
5656
57-
- name: Release
57+
- name: API Release
5858
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
5959
with:
60-
name: Release ${{env.version}}
61-
tag_name: v${{env.version}}
60+
name: API Release ${{env.version}}
61+
tag_name: ${{env.version}}
6262
generate_release_notes: true

0 commit comments

Comments
 (0)