Skip to content

Commit 56f1a48

Browse files
workos-sdk-automation[bot]gjtorikianclaude
authored
fix: revert VERSION extraction to handle simple v-prefixed tags (#442)
The `##*/v` pattern requires a `/` before `v` to match, so it doesn't strip the `v` from simple `v6.1.0` tags. Now that tags use `v6.1.0` format, the original `#v` pattern is correct. Co-authored-by: Garen J. Torikian <gjtorikian@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 344021d commit 56f1a48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ jobs:
3535

3636
- name: Publish to RubyGems
3737
run: |
38-
VERSION="${GITHUB_REF_NAME##*/v}"
38+
VERSION="${GITHUB_REF_NAME#v}"
3939
bundle exec rake build
4040
gem push pkg/workos-${VERSION}.gem --host https://rubygems.org

0 commit comments

Comments
 (0)