Skip to content

Only attempt to publish if versions differ from Gallery#422

Merged
psjamesp merged 2 commits intoPowerShellOrg:masterfrom
HeyItsGilbert:PublishOnVerChangeOnlu
Oct 19, 2022
Merged

Only attempt to publish if versions differ from Gallery#422
psjamesp merged 2 commits intoPowerShellOrg:masterfrom
HeyItsGilbert:PublishOnVerChangeOnlu

Conversation

@HeyItsGilbert
Copy link
Copy Markdown
Member

Applying some lessons learned from my module GH actions.

  1. workflow_dispatch allows repo owner try to publish manually
  2. Replace regular install step with potatoqualitee/psmodulecache (thanks @potatoqualitee)
  3. Add new step check_if_versions_bumped that uses BuildHelpers to compare repo version vs PowerShell gallery version.

@psjamesp psjamesp merged commit 7841c5b into PowerShellOrg:master Oct 19, 2022
@potatoqualitee
Copy link
Copy Markdown

ayy github is deprecating some stuff next year, please update to v5.1!

@HeyItsGilbert HeyItsGilbert deleted the PublishOnVerChangeOnlu branch December 16, 2022 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants