Skip to content

Commit

Permalink
Moved swagger revision into language repo for easy overriding.
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-o-matic committed Mar 11, 2016
1 parent 3ad8675 commit b957f26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .swagger-revision
@@ -0,0 +1 @@
62fbcb9e8bec4a40569e51c7f316af85806628ee
3 changes: 1 addition & 2 deletions script/swagger
Expand Up @@ -6,9 +6,8 @@ if [ ! -d "swagger-codegen" ]; then
git clone https://github.com/swagger-api/swagger-codegen
fi

SWAGGER_CODGEN_REVISION=$(cat .swagger-revision)
cd swagger-codegen

SWAGGER_CODGEN_REVISION="62fbcb9e8bec4a40569e51c7f316af85806628ee" # v2.1.5+
if [[ `cat .git/HEAD` != "$SWAGGER_CODGEN_REVISION" ]]; then
git fetch
git checkout $SWAGGER_CODGEN_REVISION
Expand Down

0 comments on commit b957f26

Please sign in to comment.