You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
failureMessage += `Identified \`${prsOpenByGithubActions.length}\` open PR(s) from \`github-actions\` bot which should be merged or closed before proceeding. <https://github.com/${owner}/${repo}/issues?q=is%3Apr+is%3Aopen+author%3Aapp%2Fgithub-actions|Link to PRs>`;
98
-
99
-
failureMessage += '\n\nThis step maintains the code integrity and is critical to avoid regression in future releases. Please merge them or close them before proceeding or set \`skip_verify\` to \`true\` before running the workflow to skip this step if you are confident that the PRs are irrelevant.';
100
-
101
-
console.error(failureMessage);
102
-
core.setOutput('failureMessage', failureMessage);
103
-
}
104
-
core.setOutput('runBuildZipJob', runBuildZipJob);
47
+
- name: Workflow checks
48
+
run: |
49
+
# No special checks when running as a reusable workflow.
50
+
if [ "${{ ! contains( github.workflow_ref, 'release-build-zip-file.yml' ) }}" = "true" ]; then
Copy file name to clipboardExpand all lines: docs/contribution/releases/building-and-publishing.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,9 @@ sidebar_label: Building and Publishing
30
30
- Run from `trunk` and enter the major version number and the intended release date.
31
31
- Review and merge the two PRs created (one for trunk, one for the release branch).
32
32
- Ensure the changelog date is correct.
33
-
3.**Build the release ZIP file.**
34
-
- Run the [“Release: Build ZIP file” workflow](https://github.com/woocommerce/woocommerce/actions/workflows/release-build-zip-file.yml) from the release branch.
35
-
- Set "Create a draft GitHub release" to `true`.
33
+
3.**Build the release ZIP file using the [“Release: Build ZIP file” workflow](https://github.com/woocommerce/woocommerce/actions/workflows/release-build-zip-file.yml).**
34
+
- Run from `trunk` and enter the release branch as argument.
35
+
- Set "Create GitHub release" to `true`.
36
36
- The workflow will create a [draft release tag](https://github.com/woocommerce/woocommerce/releases) with an attached `woocommerce.zip` file.
0 commit comments