Skip to content

Conversation

Nao-ris
Copy link
Contributor

@Nao-ris Nao-ris commented Feb 19, 2025

Updating to a new version of Couchbase Lite C is still done by hand, which is time consuming and error prone.
There was a script download.sh that could be used to download the different releases locally, but many manual actions were still required afterwards.

This PR introduces a new script, update_cblite_c.sh, that can:

  1. Download all the needed releases from Couchbase Lite C in a temporary directory
  2. Unzip all the packages in a temporary directory
  3. Recreate the libcblite folder in a temporary directory
  4. Replace the libcblite folder in the local repository with the one created
  5. Strip the libraries

This should greatly help the release of new Couchbase Lite C versions.

@Nao-ris Nao-ris changed the title Better documentation New update script & Documentation cleanup Feb 19, 2025
@Nao-ris Nao-ris marked this pull request as ready for review February 19, 2025 15:20
@Nao-ris Nao-ris requested a review from a team as a code owner February 19, 2025 15:20
@cwoodrow cwoodrow merged commit 9d4d45a into main Feb 27, 2025
3 checks passed
@cwoodrow cwoodrow deleted the better_documentation branch February 27, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants