Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 759 Bytes

Releasing.md

File metadata and controls

30 lines (27 loc) · 759 Bytes

Releasing

Cutting a Release

  1. Update CHANGELOG.md.

    Fix: New: new api, feature, etc. Update: bump dependencies

  2. Set versions:

    export RELEASE_VERSION=X.Y.Z
    
  3. Update versions:

    sed -i "" \
    "s/VERSION = \".*\"/VERSION = \"$RELEASE_VERSION\"/g" \
    "library/src/main/java/com/agora/netless/syncplayer/SyncPlayer.kt"
    sed -i "" \
    "s/\"com.github.netless-io:\([^\:]*\):[^\"]*\"/\"com.github.netless-io:\1:$RELEASE_VERSION\"/g" \
    README.md README_zh_CN.md
  4. Tag the release and push to GitHub.

    git commit -am "Prepare for release $RELEASE_VERSION"
    git tag -a $RELEASE_VERSION -m "Version $RELEASE_VERSION"
    git push && git push --tags