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

Versio Release Problem #30

Open
Woj-Teh opened this issue Feb 16, 2023 · 0 comments
Open

Versio Release Problem #30

Woj-Teh opened this issue Feb 16, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Woj-Teh
Copy link

Woj-Teh commented Feb 16, 2023

The problem occurs when trying to fix a bad commit. After removing the error, e.g. wrong tag-prefix and committing the changes, versio still displays the previous error. The only way to fix the bug is to delete the remote commit and roll back to the commit that didn't have the bug. An example of a program with a bug is in the link below:
GITHUB-LINK

To reproduce the bug(these steps have already been done in the repository linked above):

OPEN .versio.yaml
EDIT tag_prefix: in line 19 FROM "example-versio-without-dot" TO "example-versio.with-dot"
COMMIT CHANGES and push it to repository
RUN versio release
You will see the error: Error: illegal tag_prefix "example-versio.with-dot"

Fix the error by editing tag_prefix TO "example-versio-without-dot"
COMMIT CHANGES and push it to repository
RUN versio release
You will see again, the previous error: Error: illegal tag_prefix "example-versio.with-dot"

Each subsequent attempt to commit any changes and then use the command: "versio release" ends with the same error.

The problem is not only with tag_prefix but also with other bugs that cannot be fixed by improving the code, and the only option I know of is to remove the commits with the error and go back to the last correct commit.

@Woj-Teh Woj-Teh added the bug Something isn't working label Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants