generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip * go * fix naming * dummy * fix changelog * ghj * Revert "ghj" This reverts commit 2d8fbb0. * version * Revert "version" This reverts commit 23aaede. * use bump + commit and tag * adjust runs * ls * gfd * gdf * v0.2.0 * Revert "v0.2.0" This reverts commit 21c0e9b. * v0.2.0 * Revert "v0.2.0" This reverts commit d0192e9. * v0.2.0 * fsd * Revert "v0.2.0" This reverts commit 1ce8b8c. * v0.2.0 * Revert "v0.2.0" This reverts commit dac92cf. * v0.2.0 * Revert "v0.2.0" This reverts commit 00d5367. * v0.2.0 * Revert "v0.2.0" This reverts commit f7dac4f. * v0.2.0 * Revert "v0.2.0" This reverts commit fb491c0. * v0.2.0 * adjust bump script * Revert "v0.2.0" This reverts commit 2c9dbf8. * Update .github/workflows/bump.yml * Update .github/workflows/bump.yml * Update .github/workflows/draft-release.yml * Update .github/workflows/draft-release.yml * Update sample-code/src/foundation-models-openai.ts * Use main --------- Co-authored-by: ai-sdk-js <[email protected]> Co-authored-by: sap-ai-sdk <[email protected]>
- Loading branch information
1 parent
53a56d0
commit cfe9408
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 |