Skip to content

Commit e0ed6a5

Browse files
authored
more create github release magic (#1226)
1 parent 989d423 commit e0ed6a5

File tree

3 files changed

+7
-30
lines changed

3 files changed

+7
-30
lines changed

.buildkite/pipeline.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,12 @@ steps:
225225
- npm config set "//registry.npmjs.org/:_authToken" $${NPM_TOKEN}
226226
- git config --global user.name "buildkite-agent"
227227
- git config --global user.email "[email protected]"
228+
- gh repo set-default segmentio/analytics-next
228229
- echo "--- Install dependencies"
229230
- PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 HUSKY=0 yarn install --immutable
230231
- echo "+++ Release packages"
231232
- 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"}'
233+
- yarn scripts create-release-from-tags
237234
plugins:
238235
- ssh://[email protected]/segmentio/cache-buildkite-plugin#v2.0.0:
239236
key: "v1.1-cache-dev-{{ checksum 'yarn.lock' }}"

.changeset/big-bikes-remain.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@segment/analytics-signals': patch
3+
---
4+
5+
Testing CI

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

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)