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
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->
<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->
<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->
## Current Behavior
<!-- This is the behavior we have today -->
The below commit caused the publish pipeline to publish a `minor`
version when it should have been a `next` version.
## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
This reverts commit
3750366.
## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->
Fixes #
(cherry picked from commit 73c8c33)
Copy file name to clipboardExpand all lines: .github/PULL_REQUEST_TEMPLATE.md
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,6 @@
4
4
<!-- Please make sure that your commit message follows our format -->
5
5
<!-- Example: `fix(nx): must begin with lowercase` -->
6
6
7
-
<!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. -->
# Automated schedule - canary releases from master
5
4
schedule:
6
5
- cron: "0 3 * * 2-6"# Tuesdays - Saturdays, at 3am UTC
7
-
# Manual trigger - PR releases or dry-runs (based on workflow inputs)
8
6
workflow_dispatch:
9
-
inputs:
10
-
pr:
11
-
description: "PR Number - If set, a real release will be created for the branch associated with the given PR number. If blank, a dry-run of the currently selected branch will be performed."
12
-
required: false
13
-
type: number
14
7
release:
15
8
types: [ published ]
16
9
17
-
# Dynamically generate the display name for the GitHub UI based on the event type and inputs
# Check out the latest master branch to get its copy of nx-release.ts
93
-
repository: nrwl/nx
94
-
ref: master
95
-
path: latest-master-checkout
96
-
97
-
- name: (PR Release Only) Check out PR branch
98
-
if: ${{ steps.script.outputs.ref != '' }}
99
-
uses: actions/checkout@v4
100
-
with:
101
-
# Check out the PR branch to get its copy of nx-release.ts
102
-
repository: ${{ steps.script.outputs.repo }}
103
-
ref: ${{ steps.script.outputs.ref }}
104
-
path: pr-branch-checkout
105
-
106
-
- name: (PR Release Only) Ensure that nx-release.ts has not changed in the PR being released
107
-
if: ${{ steps.script.outputs.ref != '' }}
108
-
env:
109
-
FILE_TO_COMPARE: "scripts/nx-release.ts"
110
-
run: |
111
-
if ! cmp -s "latest-master-checkout/${{ env.FILE_TO_COMPARE }}" "pr-branch-checkout/${{ env.FILE_TO_COMPARE }}"; then
112
-
echo "🛑 Error: The file ${{ env.FILE_TO_COMPARE }} is different on the ${{ steps.script.outputs.ref }} branch on ${{ steps.script.outputs.repo }} vs latest master on nrwl/nx, cancelling workflow. If you did not modify the file, then you likely just need to rebase/merge latest master."
113
-
exit 1
114
-
else
115
-
echo "✅ The file ${{ env.FILE_TO_COMPARE }} is identical between the ${{ steps.script.outputs.ref }} branch on ${{ steps.script.outputs.repo }} and latest master on nrwl/nx."
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -355,7 +355,3 @@ Closes #157
355
355
To simplify and automate the process of committing with this format,
356
356
**Nx is a [Commitizen](https://github.com/commitizen/cz-cli) friendly repository**, just do `git add` and
357
357
execute `pnpm commit`.
358
-
359
-
#### PR releases
360
-
361
-
If you are working on a particularly complex change or feature addition, you can request a dedicated Nx release for the associated pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate.
0 commit comments