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

feat: Diagnose failure to follow dfx 0.11 upgrade steps #3199

Merged
merged 4 commits into from
Jun 28, 2023

Conversation

ericswanson-dfinity
Copy link
Member

Description

If project was last deployed with dfx <= 0.10, and upgrade steps for dfx 0.11 were not followed, dfx deploy with dfx >= 0.11 will fail with an error about duplicate assets. This PR makes dfx detect this case and display upgrade steps.

Fixes https://dfinity.atlassian.net/browse/SDK-870

How Has This Been Tested?

Added an e2e test

Checklist:

@ericswanson-dfinity ericswanson-dfinity requested a review from a team as a code owner June 28, 2023 01:19
@mergify mergify bot merged commit 81f8a60 into master Jun 28, 2023
288 checks passed
@mergify mergify bot deleted the ens/870-duplicate-files-upgrade-steps branch June 28, 2023 19:33
mmicu pushed a commit to mmicu/sdk that referenced this pull request Jul 1, 2023
If  project was last deployed with dfx <= 0.10, and upgrade steps for dfx 0.11 were not followed, `dfx deploy` with dfx >= 0.11 will fail with an error about duplicate assets.  This PR makes dfx detect this case and display upgrade steps.

Fixes https://dfinity.atlassian.net/browse/SDK-870
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