Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 1.32 KB

README.md

File metadata and controls

52 lines (29 loc) · 1.32 KB

Demo

couchdb-manifest demo optimized

The source of the demo (in ttyrec) format is here

You can play it with:

ttyplay -S 5 couchdb-manifest.tty

Building couch

repo init -u https://github.com/iilyak/couchdb-manifest.git
repo sync

# next step is only needed if you want to build a specific release
repo init -b build-$BUILD -m release.xml

wget https://raw.githubusercontent.com/iilyak/couchdb-manifest/master/rebar.config.script -O rebar.config.script.overwrite
rebar -C rebar.config.script.overwrite compile

Creating release

  1. Make sure you are on the master branch: repo init -b master

  2. Sync/checkout source, excluding local changes: repo sync --detach

  3. Generate a release manifest:

    repo manifest -r -o build-$BUILD.xml
    

    where $BUILD is the current release number

  4. Update release.xml:

    ln -sf build-$BUILD.xml release.xml
    
  5. Commit

    git add build-$BUILD.xml; git commit -a
    
  6. Tag

    git tag v$BUILD.$BRANCH.$PATCH
    
  7. Push

    git push origin HEAD:master HEAD:build-$BUILD v$BUILD.$BRANCH.$PATCH
    

Note the procedure and project structure is addapted from CoreOS