Skip to content

Commit 4ff005a

Browse files
committed
fix flaky npm publish
1 parent dcb541f commit 4ff005a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.buildkite/pipeline.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,11 @@ steps:
229229
- PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 HUSKY=0 yarn install --immutable
230230
- echo "+++ Release packages"
231231
- yarn release
232+
- |
233+
curl -X POST -H "Accept: application/vnd.github.v3+json" \
234+
-H "Authorization: token $${GITHUB_TOKEN}" \
235+
https://api.github.com/repos/segmentio/analytics-next/actions/workflows/release-creator.yml/dispatches \
236+
-d '{"ref":"master"}'
232237
plugins:
233238
- ssh://[email protected]/segmentio/cache-buildkite-plugin#v2.0.0:
234239
key: "v1.1-cache-dev-{{ checksum 'yarn.lock' }}"

.github/workflows/create-github-release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# Creating the github release is the final step of the release.
22
name: Create Github Release
33
on:
4-
push:
5-
tags:
6-
- "@segment/*"
4+
workflow_dispatch:
75

86
jobs:
97
github_release:

0 commit comments

Comments
 (0)