Skip to content

Revert "v0.2.0"

Revert "v0.2.0" #20

Workflow file for this run

name: bump
on:
# TODO: remove this before merge
push:
branches: ['ga-release']
workflow_dispatch:
inputs:
majorVersion:
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
jobs:
bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_CLOUD_SDK_JS_ADMIN_WRITE_TOKEN }}
# TODO: add this back before merge
# ref: 'main'
- 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
- run: ls /home/runner/work/ai-sdk-js/ai-sdk-js/.changeset
- uses: sap/cloud-sdk-js/.github/actions/changesets-fixed-version-bump@merge-changelogs
name: Bump version
id: bump
with:
majorVersion: ${{ inputs.majorVersion }}
- uses: sap/cloud-sdk-js/.github/actions/commit-and-tag@merge-changelogs
name: Commit and tag
with:
version: ${{ steps.bump.outputs.version }}
user-name: sap-ai-sdk