Skip to content

Commit 1bdc003

Browse files
committed
Only add specific files to release commit
1 parent ed7044e commit 1bdc003

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/release_crypto.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ def get_git_hash(directory: str) -> str:
6363

6464
def commit_and_push_changes(directory: str, message: str):
6565
try:
66-
subprocess.run(["git", "add", "."], cwd=directory, check=True)
66+
subprocess.run(["git", "add", "buildSrc/src/main/kotlin/BuildVersionsCrypto.kt"], cwd=directory, check=True)
67+
subprocess.run(["git", "add", "crypto/crypto-android/src/main/kotlin/org/matrix/rustcomponents/sdk/crypto/matrix_sdk_crypto_ffi.ktt"], cwd=directory, check=True)
6768
subprocess.run(["git", "commit", "-m", message], cwd=directory, check=True)
6869
subprocess.run(["git", "push"], cwd=directory, check=True)
6970
print("Changes committed and pushed successfully.")

0 commit comments

Comments
 (0)