diff --git a/.changeset/rare-peaches-double.md b/.changeset/rare-peaches-double.md new file mode 100644 index 00000000..25af48f1 --- /dev/null +++ b/.changeset/rare-peaches-double.md @@ -0,0 +1,18 @@ +--- +"@itwin/changed-elements-react": minor +--- + +- Added experimental React component for the new Named Version selector. Its name or API is not stable yet, but you can try it out the following way. + + ```TypeScript + import { NamedVersionSelectorWidget } from "@itwin/changed-elements-react/experimental"; + + [...] + + return ( + + + + ); + } + ``` diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index b6e08bfe..37a9ce8d 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -1,7 +1,9 @@ name: Changesets Release on: - workflow_dispatch: + push: + branches: + - master jobs: CreateRelease: @@ -45,13 +47,22 @@ jobs: run: pnpm audit --audit-level high - name: Create release PR or publish to npm + id: changesets uses: changesets/action@v1 with: - publish: pnpm run build:components && changeset publish + publish: pnpm run build:components && pnpm changeset publish title: Release packages [publish docs] commit: Release packages [publish docs] + createGithubReleases: true env: GITHUB_TOKEN: ${{ secrets.IMJS_ADMIN_GH_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPMJS_PUBLISH_ITWIN }} GIT_AUTHOR_NAME: imodeljs-admin GIT_AUTHOR_EMAIL: imodeljs-admin@users.noreply.github.com + + - name: Log Changesets Outputs + run: | + echo "Published: ${{ steps.changesets.outputs.published }}" + echo "Published Packages: ${{ steps.changesets.outputs.publishedPackages }}" + echo "Has Changesets: ${{ steps.changesets.outputs.hasChangesets }}" + echo "Pull Request Number: ${{ steps.changesets.outputs.pullRequestNumber }}" diff --git a/packages/changed-elements-react/CHANGELOG.md b/packages/changed-elements-react/CHANGELOG.md index 4621004d..d0125718 100644 --- a/packages/changed-elements-react/CHANGELOG.md +++ b/packages/changed-elements-react/CHANGELOG.md @@ -1,26 +1,5 @@ # Changelog -## 0.12.0 - -### Minor Changes - -#### [0.12.0](https://github.com/iTwin/changed-elements-react/tree/v0.12.0/packages/changed-elements-react) - 2025-01-17 - -- Added experimental React component for the new Named Version selector. Its name or API is not stable yet, but you can try it out the following way. - - ```TypeScript - import { NamedVersionSelectorWidget } from "@itwin/changed-elements-react/experimental"; - - [...] - - return ( - - - - ); - } - ``` - ## 0.11.4 ### Patch Changes diff --git a/packages/changed-elements-react/package.json b/packages/changed-elements-react/package.json index 9edf16a8..a22fe3cb 100644 --- a/packages/changed-elements-react/package.json +++ b/packages/changed-elements-react/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/changed-elements-react", - "version": "0.12.0", + "version": "0.11.4", "license": "MIT", "repository": { "type": "git",