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

Add --ignore-duplicate flag to avoid build failures on repeated CI builds #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bbourdrez
Copy link

When doing builds from github actions or other CI/CD systems it's often good to not fail on repeated production builds of the same package, so this new flag allows you to tell gpr to succeed when pushing a duplicate version (other than showing the server-provided error in the output).
There doesn't seem to be any mocking set up for the network-related parts of the code, so there's no tests.

@f2calv
Copy link

f2calv commented Mar 1, 2023

The official argument is --skip-duplicate, so I would be inclined to rename --ignore-duplicate to match;

@alexrp
Copy link
Contributor

alexrp commented Apr 12, 2024

@jcansdale @bbourdrez any way we can move this one forward? I've found myself needing this a few times now.

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