Skip to content

Only push to NuGet for Full Build (cron) - #4517

Merged
Travis Plunk (TravisEz13) merged 3 commits into
PowerShell:masterfrom
TravisEz13:OnlyPushToNugetOnFullBuilds
Aug 11, 2017
Merged

Only push to NuGet for Full Build (cron)#4517
Travis Plunk (TravisEz13) merged 3 commits into
PowerShell:masterfrom
TravisEz13:OnlyPushToNugetOnFullBuilds

Conversation

@TravisEz13

Copy link
Copy Markdown
Member

Currently, every merge is also publishing.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found another issue, we seem to be updating the badge on full build, including the one with [Feature]. We need a way to identify a CRON build and then do nuget publish and badge update.

Comment thread tools/travis.ps1 Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in allready -> already

Comment thread tools/travis.ps1 Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also published if it is [Feature] run?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only if we merge a feature... that is equivalent to a daily build, I'm fine with it. If it's a PR, it won't publish. And if you squash merge, you will likely, remove the [Feature] from the commit message.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, a true merge would change the description of the last commit message too. Only merging to master using the rebase option would have this possible effect.

@TravisEz13

Copy link
Copy Markdown
Member Author

The badge issue is being fixed in #4536

Comment thread tools/travis.ps1 Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After merging a PR to master, if the commit message happen to have [Feature] tag, we will publish the nuget package as well. Is that desired? Maybe we should use $isDailyBuild instead.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebased, and updated.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TravisEz13
Travis Plunk (TravisEz13) merged commit b3ebdaf into PowerShell:master Aug 11, 2017
@TravisEz13
Travis Plunk (TravisEz13) deleted the OnlyPushToNugetOnFullBuilds branch August 11, 2017 15:50
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WG-Maintainers-Build specific to affecting the build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants