AHEasing icon indicating copy to clipboard operation
AHEasing copied to clipboard

inconsistency of release tag version on github and cocoapods version

Open koyachi opened this issue 6 years ago • 4 comments

My app's dependent library is using AHEasing. But current versions of AHEasing between github and cocoapods are not same so I can't do CI with travis now.

  • https://github.com/warrenm/AHEasing/releases : 1.3.1
  • https://cocoapods.org/pods/AHEasing : 1.2

I tried to run pod trunk push AHEasing.podspec.json with json below, but I couldn't successfully completed because of I'm not a maintainer or contributer. 😓

{
  "name": "AHEasing",
  "version": "1.3.1",
  "summary": "A supplemental library of easing functions for C, C++, and Objective-C.",
  "homepage": "https://github.com/warrenm/AHEasing",
  "license": {
    "type": "WTFPL",
    "file": "COPYING"
  },
  "authors": {
    "Warren Moore": "[email protected]"
  },
  "source": {
    "git": "https://github.com/warrenm/AHEasing.git",
    "tag": "1.3.1"
  },
  "platforms": {
    "ios": "5.0",
    "osx": "10.7"
  },
  "source_files": [
    "AHEasing/easing.{h,c}",
    "AHEasing/CAKeyframeAnimation+AHEasing.{h,m}"
  ],
  "public_header_files": [
    "AHEasing/easing.h",
    "AHEasing/CAKeyframeAnimation+AHEasing.h"
  ],
  "frameworks": "QuartzCore",
  "requires_arc": true
}

error message of pod trunk

$ pod trunk push AHEasing.podspec.json
Updating spec repo `master`
warning: inexact rename detection was skipped due to too many files.
warning: you may want to set your diff.renameLimit variable to at least 4009 and retry the command.

CocoaPods 1.6.0.beta.1 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.6.0.beta.1

Validating podspec
 -> AHEasing (1.3.1)

[!] You ([email protected]) are not allowed to push new versions for this pod. The owners of this pod are [email protected].

So please update cocoapods version or fix? release tag version on github. :raised_hands:

Reference:

  • https://blog.cocoapods.org/CocoaPods-Trunk/

koyachi avatar Aug 24 '18 01:08 koyachi

Guys, please update spec

emlnv avatar Aug 30 '18 11:08 emlnv

@koyachi Danila's idea is helped me v

emlnv avatar Aug 30 '18 12:08 emlnv

@koyachi You can use pod 'AHEasing', :git => 'https://github.com/warrenm/AHEasing.git', :tag => '1.3.1' as a tmp fix.

dani-gavrilov avatar Aug 30 '18 12:08 dani-gavrilov

@v-emelyanov @dani-gavrilov Thanks advice for temporary fix! It worked!

koyachi avatar Aug 31 '18 02:08 koyachi

Version 1.3.2 has now been released, and the podspec has been pushed to Cocoapods trunk.

warrenm avatar Nov 30 '22 00:11 warrenm