mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-06 03:49:58 +02:00
move scripts to new scripts
folder
This commit is contained in:
parent
3b4ed28269
commit
678385a887
11 changed files with 9 additions and 9 deletions
22
scripts/update-core.sh
Executable file
22
scripts/update-core.sh
Executable file
|
@ -0,0 +1,22 @@
|
|||
|
||||
# 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
|
||||
cd ../..
|
||||
|
||||
# commit changes
|
||||
git add jni/deltachat-core-rust
|
||||
git commit -m "update deltachat-core-rust submodule"
|
||||
|
||||
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 :)"
|
Loading…
Add table
Add a link
Reference in a new issue