-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #499 from wordpress-mobile/release/0.3.4
Release v0.3.4
- Loading branch information
Showing
137 changed files
with
15,417 additions
and
1,207 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 |
---|---|---|
|
@@ -3,4 +3,4 @@ gutenberg | |
symlinked-packages-in-parent | ||
react-native-aztec | ||
bundle | ||
|
||
react-native-aztec-old-submodule |
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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
require 'json' | ||
|
||
package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) | ||
|
||
Pod::Spec.new do |s| | ||
s.name = 'RNTAztecView' | ||
s.version = package['version'] | ||
s.summary = 'Aztec editor for React Native' | ||
s.license = package['license'] | ||
s.homepage = 'https://github.com/wordpress-mobile/gutenberg-mobile' | ||
s.authors = 'Automattic' | ||
s.source = { :git => 'https://github.com/wordpress-mobile/gutenberg-mobile.git' } | ||
s.source_files = 'react-native-aztec/ios/RNTAztecView/*.{h,m,swift}' | ||
s.public_header_files = 'react-native-aztec/ios/RNTAztecView/*.h' | ||
s.requires_arc = true | ||
s.platforms = { :ios => "10.0" } | ||
s.xcconfig = {'OTHER_LDFLAGS' => '-lxml2', | ||
'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'} | ||
s.dependency 'React' | ||
s.dependency 'WordPress-Aztec-iOS' | ||
|
||
end |
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
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 |
---|---|---|
@@ -0,0 +1,76 @@ | ||
#!/bin/sh | ||
|
||
# Check for jfrog-cli-go | ||
command -v jfrog > /dev/null || { echo "jfrog-cli-go is required to update the repo. Install it with 'brew install jfrog-cli-go'" >&2; exit 1; } | ||
# Check for xmlstarlet | ||
command -v xmlstarlet > /dev/null || { echo "xmlstarlet is required to update the repo. Install it with 'brew install xmlstarlet'" >&2; exit 1; } | ||
|
||
# Exit if any command fails | ||
set -e | ||
|
||
# Change to the expected directory. | ||
cd "$( dirname $0 )" | ||
cd .. | ||
|
||
TMP_WORKING_DIRECTORY=$(mktemp -d) | ||
|
||
BINTRAY_REPO="wordpress-mobile/react-native-mirror" | ||
PACKAGE_PATHS=("node_modules/react-native/android/com/facebook/react/react-native" "node_modules/jsc-android/dist/org/webkit/android-jsc") | ||
|
||
package_name () { | ||
local PACKAGE_PATH="$1" | ||
xmlstarlet sel -t -v "/metadata/artifactId" "$PACKAGE_PATH/maven-metadata.xml" | ||
} | ||
|
||
package_version () { | ||
local PACKAGE_PATH="$1" | ||
xmlstarlet sel -t -v "/metadata/versioning/versions/version" "$PACKAGE_PATH/maven-metadata.xml" | ||
} | ||
|
||
check_bintray_version () { | ||
local PACKAGE_NAME="$1" | ||
local PACKAGE_VERSION="$2" | ||
|
||
jfrog bt version-show "${BINTRAY_REPO}/${PACKAGE_NAME}/${PACKAGE_VERSION}" &> /dev/null && echo "0" || echo "1" | ||
} | ||
|
||
create_bintray_version () { | ||
local PACKAGE_NAME="$1" | ||
local PACKAGE_VERSION="$2" | ||
local PACKAGE_PATH="$3" | ||
|
||
local BINTRAY_VERSION="${BINTRAY_REPO}/${PACKAGE_NAME}/${PACKAGE_VERSION}" | ||
local GROUP_PATH=$(xmlstarlet sel -t -v "/metadata/groupId" "$PACKAGE_PATH/maven-metadata.xml" | tr "." "/") | ||
|
||
jfrog bt version-create "${BINTRAY_VERSION}" | ||
jfrog bt upload "${PACKAGE_PATH}/${PACKAGE_VERSION}/*" "${BINTRAY_VERSION}" "${GROUP_PATH}/${PACKAGE_NAME}/${PACKAGE_VERSION}/" | ||
jfrog bt version-publish "${BINTRAY_VERSION}" | ||
} | ||
|
||
# Sign into Bintray | ||
echo "Please sign into Bintray..." | ||
echo "You can find your Bintray API key here: https://bintray.com/profile/edit" | ||
jfrog bt config | ||
|
||
# Yarn install | ||
echo "Running yarn install in '${TMP_WORKING_DIRECTORY}'..." | ||
cp "package.json" "${TMP_WORKING_DIRECTORY}/" | ||
cp "yarn.lock" "${TMP_WORKING_DIRECTORY}/" | ||
cd "${TMP_WORKING_DIRECTORY}" | ||
yarn install --silent | ||
|
||
# Find local packages in node_modules/ | ||
echo "Getting local package details..." | ||
for PACKAGE_PATH in "${PACKAGE_PATHS[@]}"; do | ||
PACKAGE_NAME=$(package_name "${PACKAGE_PATH}") | ||
PACKAGE_VERSION=$(package_version "${PACKAGE_PATH}") | ||
|
||
echo "Checking ${PACKAGE_NAME}@${PACKAGE_VERSION} on Bintray..." | ||
NEEDS_UPDATE=$(check_bintray_version "${PACKAGE_NAME}" "${PACKAGE_VERSION}") | ||
if [ "$NEEDS_UPDATE" == "0" ]; then | ||
echo "${PACKAGE_NAME}@${PACKAGE_VERSION} is already up to date on Bintray" | ||
else | ||
echo "Uploading ${PACKAGE_NAME}@${PACKAGE_VERSION} to Bintray..." | ||
create_bintray_version "${PACKAGE_NAME}" "${PACKAGE_VERSION}" "${PACKAGE_PATH}" | ||
fi | ||
done |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
before_install: | ||
- yes | $ANDROID_HOME/tools/bin/sdkmanager "platforms;android-27" | ||
- yes | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;27.0.3" | ||
install: | ||
- echo "Changing into the android folder of the Bridge module" | ||
- pushd react-native-gutenberg-bridge/android && ./gradlew --stacktrace clean -Pgroup=com.github.wordpress-mobile.gutenberg-mobile -Pversion=$VERSION install && popd | ||
- pushd react-native-aztec/android && ./gradlew --stacktrace clean -Pgroup=com.github.wordpress-mobile.gutenberg-mobile -Pversion=$VERSION install && popd | ||
|
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
Submodule react-native-aztec
deleted from
7382ae
Submodule react-native-aztec-old-submodule
added at
fe8e53
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[ignore] | ||
|
||
[include] | ||
|
||
[libs] | ||
|
||
[lints] | ||
|
||
[options] | ||
|
||
[strict] |
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 |
---|---|---|
@@ -0,0 +1,119 @@ | ||
# OS X generated file | ||
.DS_Store | ||
|
||
# built application files | ||
*.apk | ||
*.ap_ | ||
|
||
# files for the dex VM | ||
*.dex | ||
|
||
# Java class files | ||
*.class | ||
|
||
# generated files | ||
bin/ | ||
gen/ | ||
build/ | ||
|
||
# Local configuration file (sdk path, etc) | ||
local.properties | ||
|
||
# Eclipse project files | ||
.settings/ | ||
.classpath | ||
.project | ||
|
||
# Intellij project files | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/ | ||
|
||
# Gradle | ||
.gradle/ | ||
gradle.properties | ||
|
||
# Generated by gradle | ||
crashlytics.properties | ||
|
||
# npm | ||
node_modules/ | ||
|
||
# yarn | ||
yarn-error.log | ||
|
||
### | ||
### Starting at this point, the Swift .gitignore rules from https://github.com/github/gitignore/blob/master/Swift.gitignore | ||
### | ||
|
||
# Xcode | ||
# | ||
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore | ||
|
||
## Build generated | ||
build/ | ||
DerivedData/ | ||
|
||
## Various settings | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata/ | ||
|
||
## Other | ||
*.moved-aside | ||
*.xccheckout | ||
*.xcscmblueprint | ||
|
||
## Obj-C/Swift specific | ||
*.hmap | ||
*.ipa | ||
*.dSYM.zip | ||
*.dSYM | ||
|
||
## Playgrounds | ||
timeline.xctimeline | ||
playground.xcworkspace | ||
|
||
# Swift Package Manager | ||
# | ||
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. | ||
# Packages/ | ||
# Package.pins | ||
# Package.resolved | ||
.build/ | ||
|
||
# CocoaPods | ||
# | ||
# We recommend against adding the Pods directory to your .gitignore. However | ||
# you should judge for yourself, the pros and cons are mentioned at: | ||
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control | ||
# | ||
Pods/ | ||
|
||
# Carthage | ||
# | ||
# Add this line if you want to avoid checking in source code from Carthage dependencies. | ||
|
||
ios/Carthage | ||
Carthage/Checkouts | ||
Carthage/Build | ||
|
||
# fastlane | ||
# | ||
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the | ||
# screenshots whenever they are needed. | ||
# For more information about the recommended setup visit: | ||
# https://docs.fastlane.tools/best-practices/source-control/#source-control | ||
|
||
fastlane/report.xml | ||
fastlane/Preview.html | ||
fastlane/screenshots/**/*.png | ||
fastlane/test_output | ||
|
Oops, something went wrong.