Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/SAP/ai-sdk-js into langchai…
Browse files Browse the repository at this point in the history
…n-integration
  • Loading branch information
tomfrenken committed Sep 16, 2024
2 parents bc66a45 + cfe9408 commit 3e97d8f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: ${{ vars.PNPM_VERSION }}
- uses: actions/setup-node@v4
Expand Down
26 changes: 11 additions & 15 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
10 changes: 4 additions & 6 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@ jobs:

- name: install and build
run: pnpm install --frozen-lockfile
# TODO: Reuse step for GA release
# - uses: sap/cloud-sdk-js/.github/actions/get-changelog@main
# name: Get Changelog
# id: get-changelog
- uses: sap/cloud-sdk-js/.github/actions/merge-changelogs@main
name: merge changelogs
id: merge-changelogs
- uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
body: 'SAP Cloud SDK for AI Beta release'
# body: ${{ steps.get-changelog.outputs.changelog }}
body: ${{ steps.merge-changelogs.outputs.changelog }}
4 changes: 0 additions & 4 deletions packages/core/CHANGELOG.md
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

0 comments on commit 3e97d8f

Please sign in to comment.