generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/SAP/ai-sdk-js into langchai…
…n-integration
- Loading branch information
Showing
4 changed files
with
16 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,6 @@ on: | |
description: Mandatory, when bumping a major version. Semver compatible version string (X.Y.Z). Must not be set for patch and minor version releases. | ||
required: false | ||
|
||
env: | ||
INPUT_MAJOR_VERSION: ${{ inputs.majorVersion }} | ||
|
||
jobs: | ||
bump: | ||
runs-on: ubuntu-latest | ||
|
@@ -18,22 +15,21 @@ jobs: | |
with: | ||
token: ${{ secrets.GH_CLOUD_SDK_JS_ADMIN_WRITE_TOKEN }} | ||
ref: 'main' | ||
- uses: pnpm/action-setup@v2 | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: ${{ vars.PNPM_VERSION }} | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ vars.DEFAULT_NODE_VERSION }} | ||
cache: 'pnpm' | ||
- run: pnpm install --frozen-lockfile | ||
- name: Setup git | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "ai-sdk-js" | ||
- name: Bump version | ||
run: pnpm changeset version | ||
- name: Remove changelog files - (TODO) Remove this step when changeset version is fixed | ||
run: rm -rf **/CHANGELOG.md | ||
- name: Push | ||
run: | | ||
git push --follow-tags | ||
- uses: sap/cloud-sdk-js/.github/actions/changesets-fixed-version-bump@main | ||
name: bump version | ||
id: bump | ||
with: | ||
majorVersion: ${{ inputs.majorVersion }} | ||
- uses: sap/cloud-sdk-js/.github/actions/commit-and-tag@main | ||
name: Commit and tag | ||
with: | ||
version: ${{ steps.bump.outputs.version }} | ||
user-name: sap-ai-sdk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
# @sap-ai-sdk/core | ||
|
||
## 0.1.0 | ||
|
||
### Minor Changes | ||
|
||
- 4d5edc7: [New Feature] test |