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
[Bug Report]: Issues with publishing logic using git diff #3943
the pipeline uses git diff to identify if there are files changed within a module and use this logic to identify if it should be published or ignored.
When the 1st attempt to publish failed for whatever reason. after failed attempt, if another unrelated update has merged into the branch, the Get-ModulesToPublish.ps1 script will detect nothing has changed for the module you had problem publishing initially, and you will not be able to publish it again without making any changes to the module, although the previous publishing attempt failed.
There should be an AlwaysPublish option so we can tell the pipeline to always publish, regardless if there are any changes to the module files between current and the previous commit.
Activity
ahmadabdalla commentedon Sep 12, 2023
Adding context: Just looking at a PR that was merged quite a while back that addresses something similar:
#2410 in response to #2153
ahmadabdalla commentedon Sep 15, 2023
Tagging #2896 for reference