You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: