We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ced2c0e commit 0446e5eCopy full SHA for 0446e5e
script/swagger
@@ -14,6 +14,10 @@ fi
14
15
(
16
cd swagger-codegen
17
+ if [[ "${#SWAGGER_CODGEN_REVISION}" -lt 40 ]]; then
18
+ # resolve git tags / branch names
19
+ SWAGGER_CODGEN_REVISION=$(git show "$SWAGGER_CODGEN_REVISION" --format="%H")
20
+ fi
21
if [[ $(cat .git/HEAD) != "$SWAGGER_CODGEN_REVISION" ]]; then
22
git fetch
23
git checkout "$SWAGGER_CODGEN_REVISION"
0 commit comments