Skip to content

Commit 75db15e

Browse files
committed
chore(workspace): 🔖 add release.yml
1 parent 9496492 commit 75db15e

File tree

4 files changed

+7
-19
lines changed

4 files changed

+7
-19
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
name: 🚀 Release
44

55
on:
6+
push:
7+
branches:
8+
- main
69
workflow_dispatch:
710

11+
concurrency: ${{ github.workflow }}-${{ github.ref }}
812

913
env:
1014
GH_TOKEN: ${{ secrets.RELEASE_BOT_TOKEN }}
@@ -57,19 +61,3 @@ jobs:
5761
commit: "[WSO2 Release] [GitHub Action] [Release] [skip ci] update package versions"
5862
env:
5963
GITHUB_TOKEN: ${{ env.GH_TOKEN }}
60-
61-
- name: 🏗️ Build
62-
id: build
63-
run: pnpm build
64-
65-
- name: 📢 Release & Publish
66-
id: release-and-publish
67-
run: |
68-
git config user.name "wso2-ui-bot"
69-
git config user.email "[email protected]"
70-
echo "//registry.npmjs.org/:_authToken=${{ env.NPM_TOKEN }}" >> ~/.npmrc
71-
env:
72-
NPM_TOKEN: ${{ env.NPM_TOKEN }}
73-
GITHUB_TOKEN: ${{ env.GH_TOKEN }}
74-
75-

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@asgardeo/js",
3-
"version": "0.1.0",
3+
"version": "0.0.0",
44
"description": "Framework agnostic JS for Asgardeo or Identity Server",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",

packages/core/src/models/branding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {TextPreference} from '../i18n/screens/model';
2323
/**
2424
* Interface for the text in the customization object.
2525
*/
26-
export type BrandingPreferenceText = Record<string, TextPreference>;
26+
export type BrandingPreferenceText = Record<string, RecursivePartial<TextPreference>>;
2727

2828
export type BrandingPreferenceTextProps = RecursivePartial<BrandingPreferenceText>;
2929

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@asgardeo/react",
3-
"version": "0.1.0",
3+
"version": "0.0.0",
44
"description": "React Wrapper to build customizable login UIs for Asgardeo or Identity Server",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",

0 commit comments

Comments
 (0)