Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.39.0 #2713

Merged
merged 95 commits into from
Oct 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
25f70d9
Adding CI check to diffs after running npm install
etoledom Sep 23, 2020
15a7f3a
Add check-diff parameter definition on config.yml
etoledom Sep 23, 2020
d2ba256
Fix git diff check script
etoledom Sep 23, 2020
1d2fa0b
Update gutenberg ref
etoledom Sep 23, 2020
33e2d82
config.yml: Checksum from gutenberg/package-lock.json
etoledom Sep 23, 2020
afb3b4b
Using npm install to check package-lock.json diff on PRs
etoledom Sep 24, 2020
25063b1
Fix syntax error on .circleci/config.yml
etoledom Sep 24, 2020
c57cc96
Fix syntax error on .circleci/config.yml
etoledom Sep 24, 2020
f518bd0
Fix syntax error on .circleci/config.yml
etoledom Sep 24, 2020
f74f4c3
Adding faiulre message option to pFail on bin/ci-checks-js.sh
etoledom Sep 24, 2020
7e0db8c
bin/ci-checks-js.sh: Removing text coloring.
etoledom Sep 24, 2020
80884d5
CircleCI: Adding cache to npm-install-full command
etoledom Sep 24, 2020
0ea29fd
Merge remote-tracking branch 'origin/develop' into test-check-pachage…
etoledom Sep 24, 2020
904d267
Update gutenberg ref
etoledom Sep 24, 2020
4258aa6
Update package-lock.json
etoledom Sep 24, 2020
d777aee
Merge remote-tracking branch 'origin/develop' into test-check-pachage…
etoledom Sep 25, 2020
75984e4
Update ci-checks-js.sh
etoledom Sep 25, 2020
11a7f68
Update ref
jd-alexander Sep 25, 2020
0d598d2
Update ref
jd-alexander Sep 26, 2020
5c40419
Gutenberg ref
Sep 26, 2020
6baae40
Clarify that milestones are not required.
mchowning Sep 28, 2020
15e5306
Merge branch 'develop' into issue-2667/android_align_slider_left
jd-alexander Sep 28, 2020
eac5da8
Updated gutenberg ref.
jd-alexander Sep 28, 2020
d283cac
Update gutenberg ref.
jd-alexander Sep 28, 2020
71d0886
Merge branch 'develop' into issue-2657/initial_button_width
jd-alexander Sep 28, 2020
85480f8
Bundle update
Sep 28, 2020
962d33e
Fix image block render in Xcode 12 (#2645)
guarani Sep 28, 2020
3b58aa6
Merge pull request #2664 from wordpress-mobile/test-check-pachage-loc…
etoledom Sep 29, 2020
0667f00
Implement strings overrides as filters
etoledom Sep 29, 2020
acf5502
Remove console.logs
etoledom Sep 29, 2020
b0e8ce5
Fix lint issues
etoledom Sep 29, 2020
c6c2d24
Update gutenberg ref
etoledom Sep 29, 2020
c306fae
Rename iOS example project to GutenbergDemo
etoledom Sep 29, 2020
840dd7d
Revert "Bundle update"
Sep 30, 2020
1e1f9ac
Reference update
Sep 30, 2020
be563a0
Merge branch 'develop' into issue/2452-Preview
Sep 30, 2020
b646cc6
Package lock update
Sep 30, 2020
1e9d9d1
Update gutenberg ref
etoledom Sep 30, 2020
dc85051
Update package-lock
etoledom Sep 30, 2020
711da0c
Fix UI Tests
etoledom Sep 30, 2020
4d2b4f6
Merge pull request #2674 from wordpress-mobile/issue/2452-Preview
Sep 30, 2020
7fc657e
Merge branch 'develop' into issue-2657/initial_button_width
jd-alexander Oct 2, 2020
f40ebfc
Update gutenberg ref
jd-alexander Oct 2, 2020
ccd81db
update gutenberg ref
jd-alexander Oct 2, 2020
4bd08d0
Merge pull request #2671 from wordpress-mobile/issue-2657/initial_but…
jd-alexander Oct 2, 2020
c1f2b45
Update masked-view
etoledom Oct 2, 2020
f82f6ac
Create endpoint to post notices from host apps (#2613)
Oct 2, 2020
9e82a63
Update gutenberg ref
etoledom Oct 2, 2020
46ab9ef
Merge branch 'develop' into merge_release_1.38.0_to_develop
cameronvoell Oct 5, 2020
164f3a3
Update gutenberg ref
etoledom Oct 5, 2020
9f2f429
Merge remote-tracking branch 'origin/develop' into issue/refactor-ui-…
etoledom Oct 5, 2020
81f9846
Merge pull request #2676 from wordpress-mobile/update_milestone_check…
mchowning Oct 5, 2020
87ebf37
Merge pull request #2678 from wordpress-mobile/issue/refactor-ui-strings
etoledom Oct 5, 2020
fd8ce41
Update gutenberg ref
etoledom Oct 5, 2020
d775c0f
Merge remote-tracking branch 'origin/develop' into rename-example-ios…
etoledom Oct 5, 2020
8cb141c
Update gutenberg ref
etoledom Oct 5, 2020
24745a6
Merge pull request #2679 from wordpress-mobile/rename-example-ios-pro…
etoledom Oct 5, 2020
fc4218e
Merge branch 'develop' into merge_release_1.38.0_to_develop
cameronvoell Oct 5, 2020
c5df67f
Merge pull request #2688 from wordpress-mobile/merge_release_1.38.0_t…
cameronvoell Oct 5, 2020
4f4951a
Update gutenberg ref
etoledom Oct 6, 2020
7ccb4fc
Merge remote-tracking branch 'origin/develop' into update-masked-view
etoledom Oct 6, 2020
02ed5ce
Update gutenberg ref
etoledom Oct 6, 2020
693f81f
Update gutenberg ref
etoledom Oct 6, 2020
5ff9336
Merge pull request #2686 from wordpress-mobile/update-masked-view
etoledom Oct 6, 2020
38a74d0
Merge branch 'develop' into issue-2667/android_align_slider_left
jd-alexander Oct 6, 2020
f00483d
Update ref
Oct 8, 2020
e9df796
Add gb mobile specific initial html (#2690)
guarani Oct 8, 2020
8ddffc4
Fix for toolbar when hiding keybord with cmd + k (#2698)
lukewalczak Oct 8, 2020
7ac70a0
Update Preview handling for better Android support (#2696)
Oct 8, 2020
10807b3
Merge branch 'develop' into issue-2667/android_align_slider_left
jd-alexander Oct 9, 2020
3775c96
Gallery - Allow removing image when it's in failed state (#2691)
Oct 9, 2020
8f48746
Merge branch 'develop' into issue/2453-ShowNoticeAndroid
Oct 9, 2020
f9902e9
Merge branch 'develop' into issue-2667/android_align_slider_left
jd-alexander Oct 9, 2020
01e01e6
Update ref
jd-alexander Oct 9, 2020
a06f666
only set initialData with demo initialHtml example if initialData not…
mzorz Oct 10, 2020
c802eba
Update Gutenberg ref
Oct 12, 2020
d65d167
Merge pull request #2697 from wordpress-mobile/issue/2453-ShowNoticeA…
Oct 12, 2020
cc9d4a3
Merge pull request #2705 from wordpress-mobile/fix/demo-initial-html
mzorz Oct 12, 2020
d063173
Merge branch 'develop' into issue-2667/android_align_slider_left
jd-alexander Oct 12, 2020
6b0146a
Updated gutenberg ref to contain the latest changes.
jd-alexander Oct 12, 2020
4b5c481
Merge pull request #2672 from wordpress-mobile/issue-2667/android_ali…
jd-alexander Oct 12, 2020
81f3fa8
Fix/2695 ube cannot view or interact with the classic block on jetpac…
marecar3 Oct 12, 2020
86ebe08
Fix/25873 unsupported block bottom sheet is triggered when device is …
marecar3 Oct 13, 2020
25b31ae
Release script: Update gb mobile version to 1.39.0
ceyhun Oct 13, 2020
5ed3dda
Release script: Update bundle for: 1.39.0
ceyhun Oct 13, 2020
abddc00
Update release notes
ceyhun Oct 13, 2020
1fe2a7c
Update RELEASE-NOTES.txt
ceyhun Oct 13, 2020
18c8694
Update gutenberg ref
ceyhun Oct 14, 2020
3ce791b
Update bundles
ceyhun Oct 14, 2020
fe3ae2f
Update gutenberg ref
ceyhun Oct 15, 2020
5498043
Update gutenberg-mobile ref
ceyhun Oct 16, 2020
caaec44
Update bundles
ceyhun Oct 16, 2020
10d23f5
Merge branch 'trunk' into release/1.39.0
ceyhun Oct 16, 2020
01ac9ad
Update gutenberg ref
ceyhun Oct 16, 2020
84396ab
Update bundles
ceyhun Oct 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 28 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@ commands:
paths:
- ~/.npm
- i18n-cache/data
npm-install-full:
steps:
- restore_cache:
name: Restore NPM Cache
keys:
- npm-i18n-v4-cache-v{{ .Environment.CACHE_TRIGGER_VERSION }}-job-{{ .Environment.CIRCLE_JOB }}-{{ checksum "gutenberg/package-lock.json" }}
- run:
name: NPM Install Full
command: npm install
- save_cache:
name: Save NPM Cache
key: npm-i18n-v4-cache-v{{ .Environment.CACHE_TRIGGER_VERSION }}-job-{{ .Environment.CIRCLE_JOB }}-{{ checksum "gutenberg/package-lock.json" }}
paths:
- ~/.npm
- i18n-cache/data
checkout-submodules:
steps:
- run:
Expand Down Expand Up @@ -47,7 +62,14 @@ jobs:
steps:
- checkout
- checkout-submodules
- npm-install
- when:
condition: <<parameters.check-correctness>>
steps:
- npm-install-full
- unless:
condition: <<parameters.check-correctness>>
steps:
- npm-install
- add-jest-reporter-dir
- run:
name: Set Environment Variables
Expand Down Expand Up @@ -162,7 +184,7 @@ jobs:
- dependencies-v4-
- run:
name: Build (if needed)
command: test -e gutenberg/packages/react-native-editor/ios/build/gutenberg/Build/Products/Release-iphonesimulator/gutenberg.app || SKIP_BUNDLING=true npm run core test:e2e:build-app:ios
command: test -e gutenberg/packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app || SKIP_BUNDLING=true npm run core test:e2e:build-app:ios
- save_cache:
name: Save Dependencies Cache
key: dependencies-v4-{{ checksum "gutenberg/packages/react-native-editor/ios/Gemfile.lock" }}-{{ checksum "gutenberg/packages/react-native-editor/ios/Podfile.lock" }}-{{ checksum "gutenberg/package-lock.json" }}
Expand All @@ -176,12 +198,12 @@ jobs:
command: npm run test:e2e:bundle:ios
- run:
name: Generate .app file for testing
command: WORK_DIR=$(pwd) && cd ./gutenberg/packages/react-native-editor/ios/build/gutenberg/Build/Products/Release-iphonesimulator && zip -r $WORK_DIR/gutenberg/packages/react-native-editor/ios/gutenberg.app.zip gutenberg.app
command: WORK_DIR=$(pwd) && cd ./gutenberg/packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator && zip -r $WORK_DIR/gutenberg/packages/react-native-editor/ios/GutenbergDemo.app.zip GutenbergDemo.app
- run:
name: Upload .app to sauce labs
command: |
source bin/sauce-pre-upload.sh
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" -X POST -H "Content-Type: application/octet-stream" https://saucelabs.com/rest/v1/storage/automattic/Gutenberg-$SAUCE_FILENAME.app.zip?overwrite=true --data-binary @./gutenberg/packages/react-native-editor/ios/gutenberg.app.zip
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" -X POST -H "Content-Type: application/octet-stream" https://saucelabs.com/rest/v1/storage/automattic/Gutenberg-$SAUCE_FILENAME.app.zip?overwrite=true --data-binary @./gutenberg/packages/react-native-editor/ios/GutenbergDemo.app.zip
- run:
name: Run Device Tests
command: |
Expand All @@ -193,12 +215,12 @@ jobs:
path: ./reports/test-results
- run:
name: Prepare build cache
command: rm gutenberg/packages/react-native-editor/ios/build/gutenberg/Build/Products/Release-iphonesimulator/gutenberg.app/main.jsbundle
command: rm gutenberg/packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app/main.jsbundle
- save_cache:
name: Save Build Cache
key: ios-build-cache-{{ checksum "ios-checksums.txt" }}
paths:
- gutenberg/packages/react-native-editor/ios/build/gutenberg/Build/Products/Release-iphonesimulator/gutenberg.app
- gutenberg/packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app
- when:
condition: << parameters.post-to-slack >>
steps:
Expand Down
4 changes: 4 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.39.0
------
* [***] Full-width and wide alignment support for Video, Latest-posts, Gallery, Media & text, and Pullquote block. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/2605]

1.38.1
------
* [***] Fix unsupported block bottom sheet is triggered when device is rotated. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/2710]
Expand Down
20 changes: 18 additions & 2 deletions bin/ci-checks-js.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,35 @@
function pOk() {
echo "[$(tput setaf 2)OK$(tput sgr0)]"
echo "[OK]"
}

function pFail() {
echo "[$(tput setaf 1)KO$(tput sgr0)]"
if [ -n "$1" ]
then
echo "Message: $1"
fi
echo "[KO]"
exit 1
}

function checkDiff() {
diff=$(git diff)
if [[ $? != 0 ]]; then
pFail
elif [[ $diff ]]; then
pFail "package-lock.json has changed. Please run npm install and commit the diff"
else
pOk
fi
}

# if both env variables are missing then force them to `true`. Otherwise will respect the combination passed externally
if [[ -z "${CHECK_CORRECTNESS}" ]] && [[ -z "${CHECK_TESTS}" ]] ; then
CHECK_CORRECTNESS=true
CHECK_TESTS=true
fi

if [ "$CHECK_CORRECTNESS" = true ] ; then
checkDiff
npm run lint || pFail
fi

Expand Down
Loading