generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Fix release pipeline #132
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
745163d
wip
marikaner f20b18a
go
marikaner e4ee251
fix naming
marikaner f300094
dummy
marikaner 92dec0f
fix changelog
marikaner 4e365fb
ghj
marikaner 5e300f9
Revert "ghj"
marikaner 7d24a46
version
marikaner b38f5d0
Revert "version"
marikaner 4ed2e3b
use bump + commit and tag
marikaner daf5f78
adjust runs
marikaner c5718b2
ls
marikaner ef09069
gfd
marikaner b40ef20
gdf
marikaner 136a0eb
v0.2.0
63aff3b
Revert "v0.2.0"
marikaner 6c8c816
v0.2.0
cdf634c
Revert "v0.2.0"
marikaner 86c7226
v0.2.0
5df8c04
fsd
marikaner 3bbee4f
Revert "v0.2.0"
marikaner 0f2d84f
v0.2.0
7bde43a
Revert "v0.2.0"
marikaner 7b088a0
v0.2.0
23f6a2a
Revert "v0.2.0"
marikaner cc5d45a
v0.2.0
2699f0c
Revert "v0.2.0"
marikaner 499368f
v0.2.0
d661d76
Revert "v0.2.0"
marikaner 060e98f
v0.2.0
c5187a4
adjust bump script
marikaner 1aef457
Revert "v0.2.0"
marikaner c10ac44
Update .github/workflows/bump.yml
marikaner 5892781
Update .github/workflows/bump.yml
marikaner b8ca7c4
Update .github/workflows/draft-release.yml
marikaner fd08e07
Update .github/workflows/draft-release.yml
marikaner 39c2927
Update sample-code/src/foundation-models-openai.ts
marikaner 2754889
Use main
marikaner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[q] Just for my understanding, we don't call this in the bump action because we dont want to maintain a root CHANGELOG.md?