Skip to content

Commit feb5aa6

Browse files
authored
[RSDK-7589] Update remote control version bump workflow (viamrobotics#4263)
1 parent f9359fe commit feb5aa6

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/npm-bump-version.yml

+5-10
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ on:
1111
type: string
1212
description: |
1313
Typescript SDK Version.
14-
If specified, may be `rc`, `latest`, or a specific version.
14+
If specified, may be `latest`, `next`, or a specific version.
1515
Defaults to unspecified, which will not update the TypeScript SDK.
1616
1717
bump:
1818
required: false
1919
type: string
20-
default: 'patch'
20+
default: "patch"
2121
description: |
2222
RC version to bump to.
2323
May be `patch`, `minor`, `major`, or a specific version.
@@ -30,12 +30,7 @@ jobs:
3030
- name: Check out code
3131
uses: actions/checkout@v3
3232

33-
- name: Bump SDK Version
34-
if: ${{ inputs.sdk_version}}
35-
working-directory: web/frontend
36-
run: npm install --save --save-exact @viamrobotics/sdk@${{ inputs.sdk_version }}
37-
38-
- name: Bump RC Version
33+
- name: Bump SDK + RC Version
3934
run: |
4035
cd web/frontend
4136
npm install --save --save-exact @viamrobotics/sdk@${{ inputs.sdk_version }}
@@ -44,8 +39,8 @@ jobs:
4439
- name: Add + Commit + Open PR
4540
uses: peter-evans/create-pull-request@v3
4641
with:
47-
commit-message: '[WORKFLOW] Updating remote-control'
48-
branch: 'workflow/bump-remote-control/${{ github.ref_name }}'
42+
commit-message: "[WORKFLOW] Updating remote-control"
43+
branch: "workflow/bump-remote-control/${{ github.ref_name }}"
4944
delete-branch: true
5045
base: ${{ github.ref_name }}
5146
title: Automated remote-control Version Update

0 commit comments

Comments
 (0)