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
Copy file name to clipboardExpand all lines: docs/content/contributing/bicep/bicep-contribution-flow/child-module-publishing.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ For a step-by-step explanation with detailed instructions, refer to the followin
39
39
***Parent module template**: In the `main.bicep` template of the child module direct parent, add a `enableReferencedModulesTelemetry` variable with a value of `false`, and pass it as the `enableTelemetry` value down to the child module deployment.
40
40
***Version**: Add the `version.json` file to the child module folder and set version to `0.1`.
41
41
***Changelog**: Add a new `CHANGELOG.md` file to the child module folder and update the changelog of all its versioned parents with a new patch version, up to the top-level parent.
42
-
***Set-AVMModule**: Run [Set-AVMModule](https://github.com/Azure/bicep-registry-modules/blob/main/utilities/tools/Set-AVMModule.ps1), test your changes, raise a PR.
42
+
***Set-AVMModule**: Run the [Set-AVMModule](https://github.com/Azure/bicep-registry-modules/blob/main/utilities/tools/Set-AVMModule.ps1) utility using the `-Recurse` flag and the path to the top-level module, test your changes and raise a PR.
43
43
44
44
For more detailed guidance, please refer below.
45
45
@@ -101,7 +101,7 @@ Please follow the steps below:
101
101
- Add the `avmTelemetry` deployment, referencing below template. Make sure to replace the `<ReplaceWith-TelemetryIdPrefix>` placeholder with the assigned telemetry ID prefix value that you noted down when checking prerequisites.
102
102
```bicep
103
103
#disable-next-line no-deployments-resources
104
-
resource avmTelemetry 'Microsoft.Resources/deployments@2024-03-01' = if (enableTelemetry) {
104
+
resource avmTelemetry 'Microsoft.Resources/deployments@2025-04-01' = if (enableTelemetry) {
@@ -152,7 +152,7 @@ Please follow the steps below:
152
152
153
153
- None
154
154
```
155
-
- Update the changelog of all the child module versioned parents with a new patch version, up to the top-level parent. Refer below for an example content section:
155
+
- Update the changelog of all the child module's versioned parents with a new patch version, up to the top-level parent. Refer below for an example content section:
156
156
```markdown
157
157
## <CurrentMajor>.<CurrentMinor>.<CurrentPatch+1>
158
158
@@ -165,7 +165,7 @@ Please follow the steps below:
165
165
- None
166
166
167
167
```
168
-
- As per usual pull request process, run the [Set-AVMModule](https://github.com/Azure/bicep-registry-modules/blob/main/utilities/tools/Set-AVMModule.ps1)script, test your changes locally and/or via the top-level module pipeline, raise a PR and attach a status badge proving successful validation.
168
+
- As per usual pull request process, run the [Set-AVMModule](https://github.com/Azure/bicep-registry-modules/blob/main/utilities/tools/Set-AVMModule.ps1)utility using the `-Recurse` flag and top-level parent's folder path. Then test your changes locally and/or via the top-level module pipeline, raise a PR and attach a status badge proving successful validation.
0 commit comments