Skip to content

Commit

Permalink
Hotfix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
varadarajan-tw committed Nov 1, 2024
1 parent 1f3ace8 commit 13ee93c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
push:
branches:
- main
- release
- hotfix/*

jobs:
build-and-publish:
Expand Down Expand Up @@ -48,9 +48,9 @@ jobs:
npm set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_PUBLISH_TOKEN }}
npm whoami
- name: Publish
run: |
yarn lerna publish from-package --yes --allowBranch=main --loglevel=verbose --dist-tag latest
# - name: Publish
# run: |
# yarn lerna publish from-package --yes --allowBranch=main --loglevel=verbose --dist-tag latest

release:
needs: build-and-publish # comment when testing locally with https://github.com/nektos/act
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/version-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ on:
description: 'Base branch to create PR to'
required: true
default: 'main'
type: choice
options:
- main
- release
run_id:
description: 'Unique identifier for the run'
required: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const action: ActionDefinition<Settings, Payload> = {
if (syncMode === 'add' || syncMode === 'update') {
return sendTrackEvent(request, settings, payload, syncMode)
}
throw new IntegrationError('syncMode must be "add" or "update"', 'Invalid syncMode', 400)
throw new IntegrationError('syncMode should be "add" or "update"', 'Invalid syncMode', 400)
},
performBatch: (request, { settings, payload, syncMode }) => {
if (syncMode === 'add' || syncMode === 'update') {
Expand Down

0 comments on commit 13ee93c

Please sign in to comment.