From b56da43953107f7ca21dbc4769a3f37d65613c02 Mon Sep 17 00:00:00 2001 From: Atsushi Nagase Date: Sun, 26 Jul 2015 03:19:33 +0900 Subject: [PATCH] [Swift] Add version to Podspec template --- .../swagger-codegen/src/main/resources/swift/Podspec.mustache | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/swagger-codegen/src/main/resources/swift/Podspec.mustache b/modules/swagger-codegen/src/main/resources/swift/Podspec.mustache index a7be288ebcd..53fac508941 100644 --- a/modules/swagger-codegen/src/main/resources/swift/Podspec.mustache +++ b/modules/swagger-codegen/src/main/resources/swift/Podspec.mustache @@ -3,6 +3,7 @@ Pod::Spec.new do |s| s.summary = '{{projectDescription}}'{{/projectDescription}} s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.9' + s.version = '{{#podVersion}}{{podVersion}}{{/podVersion}}{{^podVersion}}0.0.1{{/podVersion}}' s.source = {{#podSource}}{{& podSource}}{{/podSource}}{{^podSource}}{ :git => 'git@github.com:swagger-api/swagger-mustache.git', :tag => 'v1.0.0' }{{/podSource}}{{#podAuthors}} s.authors = {{& podAuthors}}{{/podAuthors}}{{#podSocialMediaURL}} s.social_media_url = '{{podSocialMediaURL}}'{{/podSocialMediaURL}}{{#podDocsetURL}}