Skip to content

musictheory/rcbump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

rcbump

rcbump is the successor to rchook. It is intended for single-repository projects and has a simpler implementation.

In response to a Product->Archive in Xcode, automatically:

  1. Verify git working directory is clean
  2. Bump build number to next even number
  3. Do a git commit / git tag
  4. Bump build number to next odd number, do another git commit

Xcode Scripts

Setting up Xcode is similar to rchook, but no "Build -> Pre-actions" phase is required.

In the "Build Phases" tab for your main target, add a "Run Script Phase" with the following content:

which rcbump

if [ $? -eq 0 ]; then
    rcbump build
    exit $?
fi

In the "Edit Scheme" window for the project, add an "Archive -> Post-actions" script:

which rcbump && rcbump post

The build and post do not take any arguments. Unlike rchook, rcbump does not handle code-signing, zipping, or uploading.

License

Public Domain

About

Successor to rchook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages