File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ update_readme() {
8484
8585 export new_version upstream_version=" ${grdb_tag# v} " sqlcipher_version=" ${sqlcipher_tag# v} "
8686
87+ # Check if versions are the same as before to skip release
8788 if [[ " ${current_upstream_version} " == " ${upstream_version} " ]] && \
8889 [[ " ${current_sqlcipher_version} " == " ${sqlcipher_version} " ]] && \
8990 [[ -z " $force_release " ]]; then
@@ -148,6 +149,9 @@ patch_grdb() {
148149 echo " #include \" ${grdb_dir} /SQLCipher.xcconfig\" " >> " ${grdb_dir} /Support/GRDBDeploymentTarget.xcconfig"
149150 # sed -i -E 's/<sqlite3.h>/"sqlite3.h"/' "${grdb_dir}/Support/grdb_config.h"
150151
152+ # Remove SQLCipher import statements
153+ find " ${grdb_dir} " -name " *.swift" -type f -exec sed -i ' ' ' s/import SQLCipher/\/\/import SQLCipher/g' {} +
154+
151155 if patch -s -p1 -f -d " $grdb_dir " < " $patch_file " ; then
152156 echo " ✅"
153157 else
You can’t perform that action at this time.
0 commit comments