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
{{ message }}
Repository navigation
[Feature Request]: Enable Publishing to always publish if no version was found in the target location #2153
Currently, a module is only published if git detects code changes for a module when comparing with Head^-1.
This can lead to some undesired behavior if you set up CARML for the first time, directly in main, and run the pipelines without any module changes. If that's the case, you won't be able to publish unless you apply a workaround such as a modification of the version.json file.
To mitigate this behavior we could add some logic to the publishing to the dedicated target locations (i.e., ACR, Template Specs, Universal Packages) that not only checks for changes, but also if there is already a version in that target location. If there is none, the pipeline could then decide to publish even if there are no module changes.
Reacted by Erika Gressi, Nate Arnold and Jessica Lavoie
Also as a separate issue, but related to the last point above, we should restrict the comparison logic which triggers the publishing to ignore changes to readme and test files as those should not impact the module version.
changed the title [-][Feature Request]: Enable Publishing to always publish if not version was found in the target location[/-][+][Feature Request]: Enable Publishing to always publish if no version was found in the target location[/+]on Sep 30, 2022
changed the title [-][Feature Request]: Enable Publishing to always publish if no version was found in the target location[/-][+][Feature Request]: Enable Publishing to always publish if no version was found in the target location & compare the hashes if there is[/+]on Dec 2, 2022
changed the title [-][Feature Request]: Enable Publishing to always publish if no version was found in the target location & compare the hashes if there is[/-][+][Feature Request]: Enable Publishing to always publish if no version was found in the target location[/+]on Dec 2, 2022
Activity
eriqua commentedon Sep 30, 2022
Also as a separate issue, but related to the last point above, we should restrict the comparison logic which triggers the publishing to ignore changes to readme and test files as those should not impact the module version.
[-][Feature Request]: Enable Publishing to always publish if not version was found in the target location[/-][+][Feature Request]: Enable Publishing to always publish if no version was found in the target location[/+][-][Feature Request]: Enable Publishing to always publish if no version was found in the target location[/-][+][Feature Request]: Enable Publishing to always publish if no version was found in the target location & compare the hashes if there is[/+][-][Feature Request]: Enable Publishing to always publish if no version was found in the target location & compare the hashes if there is[/-][+][Feature Request]: Enable Publishing to always publish if no version was found in the target location[/+]AlexanderSehr commentedon Dec 2, 2022
Linked to #2401