Skip to content

Commit

Permalink
Merge pull request #27121 from storybookjs/jeppe/remove-ensure-next
Browse files Browse the repository at this point in the history
Release tooling: Remove "Ensure `next` is ahead" script
  • Loading branch information
ndelangen authored May 14, 2024
2 parents f5fc402 + 73823d0 commit 3a1facb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 202 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,18 +154,6 @@ jobs:
git merge ${{ github.ref_name }}
git push origin ${{ steps.target.outputs.target }}
- name: Ensure `next` is a minor version ahead of `main`
if: steps.target.outputs.target == 'main'
run: |
git checkout next
git pull
yarn release:ensure-next-ahead --main-version "${{ steps.version.outputs.current-version }}"
git add ..
git diff --staged --quiet || git commit -m "Bump next to be one minor ahead of main [skip ci]"
git push origin next
- name: Sync CHANGELOG.md from `main` to `next`
if: steps.target.outputs.target == 'main'
working-directory: .
Expand Down
1 change: 0 additions & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"local-registry": "node --loader esbuild-register/loader -r esbuild-register ./run-registry.ts",
"publish": "node --loader esbuild-register/loader -r esbuild-register ./sandbox/publish.ts",
"release:cancel-preparation-runs": "node --loader esbuild-register/loader -r esbuild-register ./release/cancel-preparation-runs.ts",
"release:ensure-next-ahead": "node --loader esbuild-register/loader -r esbuild-register ./release/ensure-next-ahead.ts",
"release:generate-pr-description": "node --loader esbuild-register/loader -r esbuild-register ./release/generate-pr-description.ts",
"release:get-changelog-from-file": "node --loader esbuild-register/loader -r esbuild-register ./release/get-changelog-from-file.ts",
"release:get-current-version": "node --loader esbuild-register/loader -r esbuild-register ./release/get-current-version.ts",
Expand Down
87 changes: 0 additions & 87 deletions scripts/release/__tests__/ensure-next-ahead.test.ts

This file was deleted.

102 changes: 0 additions & 102 deletions scripts/release/ensure-next-ahead.ts

This file was deleted.

0 comments on commit 3a1facb

Please sign in to comment.