馃毀Change how release note paths work #17
Labels
high priority
High Priority
鉁╪ew feature
New feature that does not exist
preview
Done while in preview
Milestone
Complete The Item Below
Description
Currently, the location of release notes is located in the
Documentation
folder. There is also a hard-coded release notes dir name field namedReleaseNotesDirName
. The field is used to construct the dir path of where the release notes are located. This path construction depends on the documentation dir path to get access to the release notes for some of the NUKE targets.There is also a static property of type
AbsolutePath
that is the directory path of where the release notes are located. Convert this property to a NUKE parameter. This is going to mean that the path could possibly not be set up in the~.nuke/parameters.json
file which means that it will be null or empty when the target is executed. So the targets that use this new NUKE param property will have to check if it is null or empty.Create a
Requires()
method that can be used to check that the release notes dir path is not null or empty. This is just in case something went wrong in the path construction. Find all of the targets that use the release notes pathing and setup a requires that use the new method to check.Convert the static prop
ReleaseNotesBaseDirPath
to a NUKE parameter. This will be the base path of where the preview and production releases will live.Acceptance Criteria
PreviewReleaseNotesDirName
createdProductionReleaseNotesDirName
createdReleaseNotesBaseDirPath
is converted to a NUKE paramPreviewReleaseNotesDirPath
prop refactored to not be static and to use theReleaseNotesBaseDirPath
andPreviewReleaseNotesDirName
properties to construct the path.PreviewReleaseDirName
to construct the pathProductionReleaseNotesDirPath
prop refactored to not be static and to use theReleaseNotesBaseDirPath
andProductionReleaseNotesDirName
properties to construct the path.Targets that require the release notes using the newRequires()
methods to check for null or empty.ToDo Items
Issue Dependencies
No response
Related Work
No response
Additional Information:
Change Type Labels
馃悰bug
馃Жbreaking changes
鉁╪ew feature
workflow
馃棐锔廳ocumentation/code
馃摑documentation/product
Priority Type Labels
low priority
medium priority
high priority
Code of Conduct
The text was updated successfully, but these errors were encountered: