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

Cannot update to HEAD - "Downgrades are not supported" #603

Closed
tpluscode opened this issue Mar 11, 2022 · 2 comments · Fixed by #637
Closed

Cannot update to HEAD - "Downgrades are not supported" #603

tpluscode opened this issue Mar 11, 2022 · 2 comments · Fixed by #637
Labels
Milestone

Comments

@tpluscode
Copy link
Contributor

Describe the problem

I have a project generated from version 1.2.0 of a template.

I want to try out new changes from master branch by running copier -r HEAD

Template

https://github.com/hypermedia-app/creta-template-app/releases/tag/1.2.0

To Reproduce

  1. Generate from latest tag
  2. Update from newer commit
  3. See error

Logs

Your are downgrading from 1.2.0 to 1.2.0.dev3+g5f731f1. Downgrades are not supported.

Expected behavior

This should succeed since commit g5f731f1 is newer than tag 1.2.0

Environment

  • OS: macOS Catalina 10.15.7
  • Copier version: copier 6.0.0a9
  • Python version: 3.9.10
  • git version 2.24.3 (Apple Git-128)
  • Installation method: pipx
@tpluscode tpluscode added the bug label Mar 11, 2022
@yajo yajo added this to the v6.0.0 milestone Mar 16, 2022
yajo added a commit that referenced this issue Apr 10, 2022
I was wrongly using `.dev`. Use `.post`, just like dunamai.

Fixes #603.
@yajo
Copy link
Member

yajo commented Apr 10, 2022

Please can you confirm if #637 fixes the issue?

@tpluscode
Copy link
Contributor Author

Yes, no more error 🚀

yajo added a commit that referenced this issue Apr 13, 2022
I was wrongly using `.dev`. Use `.post`, just like dunamai.

Fixes #603.
@yajo yajo closed this as completed in #637 Apr 13, 2022
yajo added a commit that referenced this issue Apr 13, 2022
I was wrongly using `.dev`. Use `.post`, just like dunamai.

Fixes #603.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants