Skip to content

Commit 344021d

Browse files
workos-sdk-automation[bot]gjtorikianclaude
authored
fix: use simple v-prefixed tags and fix gem publish path (#441)
Release Please was creating tags like `workos/v6.1.0` instead of `v6.1.0` because `include-component-in-tag` defaults to true. This caused the publish workflow to look for `pkg/workos-workos/v6.1.0.gem` instead of `pkg/workos-6.1.0.gem`. - Set `include-component-in-tag: false` in release-please-config.json - Update VERSION extraction in release.yml to handle both tag formats Co-authored-by: Garen J. Torikian <gjtorikian@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b835802 commit 344021d

2 files changed

Lines changed: 3 additions & 2 deletions

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

release-please-config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"release-type": "ruby",
66
"package-name": "workos",
77
"version-file": "lib/workos/version.rb",
8-
"changelog-path": "CHANGELOG.md"
8+
"changelog-path": "CHANGELOG.md",
9+
"include-component-in-tag": false
910
}
1011
}
1112
}

0 commit comments

Comments
 (0)