-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
227b343
commit 434a634
Showing
1 changed file
with
1 addition
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
;; | ||
|