mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
e784b01f37
* nicer commit messasge on updating core this sets the commit message for updating core module to sth. as `update deltachat-core-rust submodule to 'prepare 1.68 (#2844)'` instead of always the same message `update deltachat-core-rust submodule`. this makes it easier to track changes. * add a hint to release checklist to include the used core version
24 lines
755 B
Bash
Executable File
24 lines
755 B
Bash
Executable File
|
|
# this script updates the deltachat-core-rust sub-repository from github.
|
|
# must be executed from the repo root.
|
|
#
|
|
# - make sure, the deltachat-android directory is clean
|
|
# - make sure, deltachat-core-rust is committed successfully before calling this script
|
|
|
|
# check out submodules as present in the repository
|
|
git submodule update --init --recursive
|
|
|
|
# update submodule
|
|
cd jni/deltachat-core-rust
|
|
git checkout master
|
|
git pull
|
|
commitmsg=`git log -1 --pretty=%s`
|
|
cd ../..
|
|
|
|
# commit changes
|
|
git add jni/deltachat-core-rust
|
|
git commit -m "update deltachat-core-rust submodule to '$commitmsg'"
|
|
|
|
echo "changes are commited to local repo."
|
|
echo "use 'git push' to use them or 'git reset HEAD~1; git submodule update --recursive' to abort on your own risk :)"
|