Pod::Spec.new do |s|
  s.name         = "Timepiece"
  s.version      = "0.3.4"
  s.summary      = "Intuitive NSDate extensions in Swift"
  s.homepage     = "https://github.com/naoty/Timepiece"
  s.license      = { :type => "MIT", :file => "LICENSE" }
  s.author       = { "Naoto Kaneko" => "naoty.k@gmail.com" }

  s.ios.deployment_target = "8.0"
  s.osx.deployment_target = "10.9"

  s.source       = { :git => "https://github.com/naoty/Timepiece.git", :tag => s.version }
  s.source_files  = "Sources/**/*.swift"
  s.requires_arc = true
end

Pod::Spec.new do |s|
  s.name         = "Timepiece"
  s.version      = `git describe --tags --abbrev=0`
  s.summary      = "Intuitive NSDate extensions in Swift"
  s.homepage     = "https://github.com/naoty/Timepiece"
  s.license      = { :type => "MIT", :file => "LICENSE" }
  s.author       = { "Naoto Kaneko" => "naoty.k@gmail.com" }

  s.ios.deployment_target = "8.0"
  s.osx.deployment_target = "10.9"

  s.source       = { :git => "https://github.com/naoty/Timepiece.git", :tag => s.version }
  s.source_files  = "Sources/**/*.swift"
  s.requires_arc = true
end

Use git tag at podspec
Use git tag at podspec
