swag icon indicating copy to clipboard operation
swag copied to clipboard

Verison error

Open linliyuan opened this issue 1 year ago • 0 comments

Describe the bug Use swag --version show v1.8.1 when I'm install v1.8.2 I cannot use the swag tool version over v1.8.2 because it will report an error "failed to evaluate const" https://github.com/swaggo/swag/issues/1622. Meanwhile, we will make corresponding version judgments based on the version for the version control of this tool to ensure the tool version used by the team is consistent. However, currently, the version output of downloading v1.8.2 will be v1.8.1.

To Reproduce Steps to reproduce the behavior:

  1. swag --version

Expected behavior swag --version show v1.8.2

Screenshots image

Your swag version e.g. v1.8.2

Your go version e.g. 1.16.7

linliyuan avatar Dec 13 '23 06:12 linliyuan