Tesseract-OCR-iOS icon indicating copy to clipboard operation
Tesseract-OCR-iOS copied to clipboard

Podspec source doesn't reference tag; also, tag version 5.0.1

Open UberJason opened this issue 6 years ago • 1 comments

Hi there! I noticed your Podspec file only points its s.source to the Tesseract-OCR-iOS GitHub repository directly, which means when people install, they're just getting the latest commit on the master branch. Most Podspec files specify both a :git and a :tag to align Pod versions with GitHub tags/releases, e.g.:

s.source           = {
    :git => "https://github.com/onmyway133/Anchors.git",
    :tag => s.version.to_s
  }

May I suggest that you update your Podspec file to include this :tag => s.version.to_s line, and also tag commit 5d1918e with version 5.0.1 to keep everything clean and up-to-date?

UberJason avatar Jan 15 '19 17:01 UberJason

I was about to open the same issue. As @UberJason says, it would be lovely if the 5.0.1 release was correctly tagged to properly specify the version in a Podfile.

xmollv avatar Mar 26 '19 14:03 xmollv