Skip to content

Commit

Permalink
Add a v-version tag for golang module (#646)
Browse files Browse the repository at this point in the history
* Add a v-version tag for golang module

* fix array access

* changeset
  • Loading branch information
lukasIO authored Mar 13, 2024
1 parent cf54792 commit de46ab0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/loud-goats-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"github.com/livekit/protocol": minor
"@livekit/protocol": minor
---

Align package version with manually tagged golang module
9 changes: 9 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create git tag for golang package
if: steps.changesets.outputs.published == 'true'
uses: rickstaa/action-create-tag@v1
id: tag_create
with:
tag: "v${{steps.changesets.outputs.publishedPackages[0].version}}"
tag_exists_error: false
message: "github.com/livekit/protocol@${{steps.changesets.outputs.publishedPackages.version}}"

0 comments on commit de46ab0

Please sign in to comment.