Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaafanador3 committed Nov 30, 2023
1 parent 227b343 commit 434a634
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1316,20 +1316,8 @@ case "$COMMAND" in
s3cmd put --recursive --acl-public --access_key=${AWS_ACCESS_KEY_ID} --secret_key=${AWS_SECRET_ACCESS_KEY} cocoa s3://static.realm.io/update/
;;

"publish-tag")
git clone [email protected]:realm/realm-swift.git
cd realm-swift
git checkout "$BRANCH"
VERSION="$(sed -n 's/^VERSION=\(.*\)$/\1/p' dependencies.list)"
git tag -m "Release ${VERSION}" "v${VERSION}"
git push origin "v${VERSION}"
;;

"publish-cocoapods")
VERSION="$(sed -n 's/^VERSION=\(.*\)$/\1/p' "${source_root}/dependencies.list")"
git clone https://github.com/realm/realm-swift
cd realm-swift
git checkout "$VERSION"
cd "${GITHUB_WORKSPACE}"
pod trunk push Realm.podspec --verbose --allow-warnings
pod trunk push RealmSwift.podspec --verbose --allow-warnings --synchronous
;;
Expand Down

0 comments on commit 434a634

Please sign in to comment.