Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update publish to ignore missing artifact errors on dry run #360

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andybradshaw
Copy link
Contributor

@andybradshaw andybradshaw commented May 2, 2023

Before this PR

Previously, attempting to run a "dry-run" publish on a repository without running a non-dry-run build beforehand will fail, as the artifacts do not exist. It seems like inconsistent dry-run behavior that it can fail if dependent tasks are also run in dry-run mode.

After this PR

==COMMIT_MSG==
Publish now ignore distributions missing on disk if run with --dry-run
==COMMIT_MSG==

Possible downsides?


This change is Reviewable

@andybradshaw andybradshaw self-assigned this May 2, 2023
@changelog-app
Copy link

changelog-app bot commented May 2, 2023

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Publish now ignore distributions missing on disk if run with --dry-run

Check the box to generate changelog(s)

  • Generate changelog entry

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.

2 participants