-
Update
CHANGELOG.md
.Fix: New: new api, feature, etc. Update: bump dependencies
-
Set versions:
export RELEASE_VERSION=X.Y.Z
-
Update versions:
sed -i "" \ "s/VERSION = \".*\"/VERSION = \"$RELEASE_VERSION\"/g" \ "library/src/main/java/io/agora/board/fast/Fastboard.java" sed -i "" \ "s/\"com.github.netless-io:\([^\:]*\):[^\"]*\"/\"com.github.netless-io:\1:$RELEASE_VERSION\"/g" \ README.md README_zh_CN.md # app denpendencies sed -i "" \ "s/\"com.github.netless-io:fastboard-android:[^\"]*\"/\"com.github.netless-io:fastboard-android:$RELEASE_VERSION\"/g" \ app/build.gradle
-
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 -v origin refs/heads/main:refs/heads/main git push origin $RELEASE_VERSION
-
Trigger jitpack build
curl https://jitpack.io/api/builds/com.github.netless-io/fastboard-android/$RELEASE_VERSION