Skip to content

Commit

Permalink
Preparation for 3.7.1 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdoe committed Jul 26, 2020
1 parent 1272b08 commit c4ec0e3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions OCMock.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "OCMock"
s.version = "3.7"
s.version = "3.7.1"

s.summary = "Mock objects for Objective-C"
s.description = <<-DESC
Expand All @@ -17,7 +17,7 @@ Pod::Spec.new do |s|
s.author = { "Erik Doernenburg" => "[email protected]" }
s.social_media_url = "http://twitter.com/erikdoe"

s.source = { :git => "https://github.com/erikdoe/ocmock.git", :tag => "v3.7" }
s.source = { :git => "https://github.com/erikdoe/ocmock.git", :tag => "v3.7.1" }
s.source_files = "Source/OCMock/*.{h,m}"

s.requires_arc = false
Expand Down
2 changes: 1 addition & 1 deletion Source/Changes.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Listing of notable changes by release. More detail is usually found in the Git
commit messages and/or the pull requests.

OCMock 3.7.1 (unreleased)
OCMock 3.7.1 (2020-07-26)

* Fixed a bug that caused double-counting of method invocations on partial
mocks under certain circumstances.
Expand Down
10 changes: 5 additions & 5 deletions Tools/build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def makeRelease
copySource
buildModules
signFrameworks "[email protected]"
createPackage "ocmock-3.7.dmg", "OCMock 3.7"
createPackage "ocmock-3.7.1.dmg", "OCMock 3.7.1"
sanityCheck
openPackageDir
end
Expand Down Expand Up @@ -47,15 +47,15 @@ def buildModules
@worker.run("mkdir -p #{osxproductdir}")
@worker.run("cp -R #{@env.symroot}/Release/OCMock.framework #{osxproductdir}")

@worker.run("xcodebuild -project OCMock.xcodeproj -target OCMockLib -sdk iphoneos13.5 OBJROOT=#{@env.objroot} SYMROOT=#{@env.symroot}")
@worker.run("xcodebuild -project OCMock.xcodeproj -target OCMockLib -sdk iphonesimulator13.5 OBJROOT=#{@env.objroot} SYMROOT=#{@env.symroot}")
@worker.run("xcodebuild -project OCMock.xcodeproj -target OCMockLib -sdk iphoneos13.6 OBJROOT=#{@env.objroot} SYMROOT=#{@env.symroot}")
@worker.run("xcodebuild -project OCMock.xcodeproj -target OCMockLib -sdk iphonesimulator13.6 OBJROOT=#{@env.objroot} SYMROOT=#{@env.symroot}")
ioslibproductdir = "#{@env.productdir}/iOS\\ library"
@worker.run("mkdir -p #{ioslibproductdir}")
@worker.run("cp -R #{@env.symroot}/Release-iphoneos/OCMock #{ioslibproductdir}")
@worker.run("lipo -create -output #{ioslibproductdir}/libOCMock.a #{@env.symroot}/Release-iphoneos/libOCMock.a #{@env.symroot}/Release-iphonesimulator/libOCMock.a")

@worker.run("xcodebuild -project OCMock.xcodeproj -target 'OCMock iOS' -sdk iphoneos13.5 OBJROOT=#{@env.objroot} SYMROOT=#{@env.symroot}")
@worker.run("xcodebuild -project OCMock.xcodeproj -target 'OCMock iOS' -sdk iphonesimulator13.5 OBJROOT=#{@env.objroot} SYMROOT=#{@env.symroot}")
@worker.run("xcodebuild -project OCMock.xcodeproj -target 'OCMock iOS' -sdk iphoneos13.6 OBJROOT=#{@env.objroot} SYMROOT=#{@env.symroot}")
@worker.run("xcodebuild -project OCMock.xcodeproj -target 'OCMock iOS' -sdk iphonesimulator13.6 OBJROOT=#{@env.objroot} SYMROOT=#{@env.symroot}")
iosproductdir = "#{@env.productdir}/iOS\\ framework"
@worker.run("mkdir -p #{iosproductdir}")
@worker.run("cp -R #{@env.symroot}/Release-iphoneos/OCMock.framework #{iosproductdir}")
Expand Down

0 comments on commit c4ec0e3

Please sign in to comment.