-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,7 +115,7 @@ jobs: | |
- name: Check release vs prerelease | ||
id: is-prerelease | ||
run: yarn release:is-prerelease ${{ steps.bump-version.outputs.next-version }} | ||
run: yarn release:is-prerelease 7.6.0 | ||
|
||
- name: Write changelog | ||
env: | ||
|
@@ -128,10 +128,10 @@ jobs: | |
run: | | ||
git config --global user.name 'storybook-bot' | ||
git config --global user.email '[email protected]' | ||
git checkout -b TEST-version-non-patch-from-${{ steps.bump-version.outputs.current-version }} | ||
git checkout -b TEST2-version-non-patch-from-${{ steps.bump-version.outputs.current-version }} | ||
git add . | ||
git commit -m "Write changelog for ${{ steps.bump-version.outputs.next-version }} [skip ci]" || true | ||
git push --force origin TEST-version-non-patch-from-${{ steps.bump-version.outputs.current-version }} | ||
git push --force origin TEST2-version-non-patch-from-${{ steps.bump-version.outputs.current-version }} | ||
- name: Resolve merge-conflicts with base branch | ||
if: steps.is-prerelease.outputs.prerelease == 'false' | ||
|
@@ -160,13 +160,13 @@ jobs: | |
if PR_STATE=$(gh pr view --json state --jq .state 2>/dev/null) && [[ -n "$PR_STATE" && "$PR_STATE" == *"OPEN"* ]]; then | ||
gh pr edit \ | ||
--repo "${{github.repository }}" \ | ||
--title "TEST Release: $CAPITALIZED_RELEASE_TYPE ${{ inputs.pre-id && format('{0} ', inputs.pre-id) }}${{ steps.bump-version.outputs.next-version }}" \ | ||
--title "TEST2 Release: $CAPITALIZED_RELEASE_TYPE ${{ inputs.pre-id && format('{0} ', inputs.pre-id) }}${{ steps.bump-version.outputs.next-version }}" \ | ||
--base ${{ steps.is-prerelease.outputs.prerelease == 'true' && 'next-release' || 'latest-release' }} \ | ||
--body "${{ steps.description.outputs.description }}" | ||
else | ||
gh pr create \ | ||
--repo "${{github.repository }}"\ | ||
--title "TEST Release: $CAPITALIZED_RELEASE_TYPE ${{ inputs.pre-id && format('{0} ', inputs.pre-id) }}${{ steps.bump-version.outputs.next-version }}" \ | ||
--title "TEST2 Release: $CAPITALIZED_RELEASE_TYPE ${{ inputs.pre-id && format('{0} ', inputs.pre-id) }}${{ steps.bump-version.outputs.next-version }}" \ | ||
--label "release" \ | ||
--base ${{ steps.is-prerelease.outputs.prerelease == 'true' && 'next-release' || 'latest-release' }} \ | ||
--head version-non-patch-from-${{ steps.bump-version.outputs.current-version }} \ | ||
|