Giter Club home page Giter Club logo

pod_updater's Introduction

pod_updater

PodUpdater

iOS 开发中帮助您快速的将自己的开发的pod库代码上传到 git ,并帮你 push 到 podspec repo 库去 使用方式: cd 到你的 pod 库代码目录,然后执行'pod_updater -v [new_version]',然后就可以去喝杯茶了

如何安装

在 shell 输入下面命令

$ gem install pod_updater

使用

cd 到你的 podspec 所在的目录路径,如:


cd ~/Desktop/my_private_pod/my_first_pod
    

然后输入下面命令:

pod_updater -v 1.0.1

下面是一些我在使用时,shell里输入的命令

qwkdeMacBook-Pro-2:~ qwk$ cd ~/Documents/WZ_GitHub/WZ_HelloKit 

qwkdeMacBook-Pro-2:WZ_HelloKit qwk$ pod_updater -v 3.0.0

更新记录

  • 2019-1-22 功能更新:

    1. 添加通知功能,发生错误,以及完成上传后,在电脑通知栏显示通知;
    2. 添加 -m 参数,支持填写该版本备注信息;
    3. 添加提前使用 pod lib lint 来对本地 spec 格式进行校验
  • 添加 '-c' 命令,如果你需要将新版本对应的podspec文件拷贝到其他目录进行备份,可以使用该命令。如:

    qwkdeMacBook-Pro-2:WZ_HelloKit qwk$ pod_updater -v 3.0.0 -c 备份目录
    
  • 添加podUpdater 文件来指定一个或者多个备份目录。使用方式,在pod项目的当前路径新建podUpdater文件,然后文件里添加内容:

        "path", "备份目录路径1"
        "path", "备份目录路径1"
    

    这样在使用:

    qwkdeMacBook-Pro-2:WZ_HelloKit qwk$ pod_updater -v 3.0.0
    

    命令时,会自动从当前目录读取 podUpdater 文件里的路径,并将 podspec 文件依次拷贝过去。可参考例子

License

The gem is available as open source under the terms of the MIT License.

pod_updater's People

Contributors

hwzss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.