Skip to content

Commit f11fb44

Browse files
committed
chore: setup beta release workflow for eds-core-react 2.2.1-beta.0
1 parent d4b5b97 commit f11fb44

3 files changed

Lines changed: 13 additions & 7 deletions

File tree

.github/workflows/publish_core_react.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,15 @@ jobs:
129129
uses: pnpm/action-setup@v4
130130
with:
131131
run_install: false
132+
- name: Set beta version from version.txt
133+
if: github.event.inputs.npm-tag == 'beta'
134+
id: set-beta-version
135+
run: |
136+
BETA_VERSION=$(cat packages/eds-core-react/src/components/next/version.txt | tr -d '[:space:]')
137+
echo "Beta version: $BETA_VERSION"
138+
cd packages/eds-core-react
139+
npm version "$BETA_VERSION" --no-git-tag-version --allow-same-version
140+
echo "Updated package.json version to $BETA_VERSION"
132141
- name: Publish to npm
133142
id: publish-to-npm
134143
run: |

packages/eds-core-react/src/components/next/CHANGELOG.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ All notable changes to EDS 2.0 beta components (`@equinor/eds-core-react/next`)
44

55
These are experimental components available under the `/next` entry point. They follow semantic versioning with a `beta` prerelease tag.
66

7-
## [2.1.1-beta.0](https://github.com/equinor/design-system/compare/eds-core-react-next@v2.1.0-beta.0...eds-core-react-next@v2.1.1-beta.0) (2025-12-11)
8-
7+
## [2.2.1-beta.0](https://github.com/equinor/design-system/compare/eds-core-react-next@v2.1.0-beta.0...eds-core-react-next@v2.1.1-beta.0) (2025-12-11)
98

109
### 🔧 Chores
1110

12-
* add /next subpath + (beta) release please for next components ([#4251](https://github.com/equinor/design-system/issues/4251)) ([0184d22](https://github.com/equinor/design-system/commit/0184d223620328a51a8e7f0162a548dfe40feb1b))
13-
* sync beta version and include component name in tag ([#4320](https://github.com/equinor/design-system/issues/4320)) ([ee861e2](https://github.com/equinor/design-system/commit/ee861e2c773d8055e18247f1d91c44edcf434452))
14-
15-
## [Unreleased]
11+
- add /next subpath + (beta) release please for next components ([#4251](https://github.com/equinor/design-system/issues/4251)) ([0184d22](https://github.com/equinor/design-system/commit/0184d223620328a51a8e7f0162a548dfe40feb1b))
12+
- sync beta version and include component name in tag ([#4320](https://github.com/equinor/design-system/issues/4320)) ([ee861e2](https://github.com/equinor/design-system/commit/ee861e2c773d8055e18247f1d91c44edcf434452))
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.1-beta.0
1+
2.2.1-beta.0

0 commit comments

Comments
 (0)