Skip to content

Commit f57e4d1

Browse files
ci: include plugin.xml files in version bump and release commit (#92)
* fix(release): include plugin.xml files in version bump and release commit Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(release): also bump Kits/Rokt/package.json and both plugin.xml files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore: remove unused semantic-release workflow and scripts release.yml, release.config.js, and .scripts/release.sh are dead code — release.yml has never been run and draft-release-publish.yml has been the active release path since the Rokt kit was added. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1901e14 commit f57e4d1

4 files changed

Lines changed: 8 additions & 147 deletions

File tree

.github/workflows/draft-release-publish.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ jobs:
6868
run: |
6969
npm version ${{ steps.bump-version.outputs.new_version }} --no-git-tag-version
7070
71+
- name: Update plugin.xml versions
72+
run: |
73+
sed -i '' "s/version=\"[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\"/version=\"${{ steps.bump-version.outputs.new_version }}\"/" plugin/plugin.xml
74+
sed -i '' "s/version=\"[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\"/version=\"${{ steps.bump-version.outputs.new_version }}\"/" Kits/Rokt/plugin.xml
75+
7176
- name: Publish Plugin to npm (dry-run)
7277
working-directory: plugin
7378
run: npm publish --dry-run
@@ -103,9 +108,11 @@ jobs:
103108
body: |
104109
Preparing for release ${{ steps.bump-version.outputs.new_version }}
105110
106-
There should be 4 files that have been updated:
111+
There should be 6 files that have been updated:
107112
- plugin/package.json
113+
- plugin/plugin.xml
108114
- Kits/Rokt/package.json
115+
- Kits/Rokt/plugin.xml
109116
- CHANGELOG.md
110117
- VERSION
111118

.github/workflows/release.yml

Lines changed: 0 additions & 85 deletions
This file was deleted.

.scripts/release.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

release.config.js

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)