-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Merge final release/18.2 into develop #15344
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
7e2d0c3
Refactor create_gh_release to allow unified GH release for WP+JP and …
AliSoftware 9ad5aa9
Update YARD docs for build lanes
AliSoftware 95c0b54
Change way to create tmpfile
AliSoftware 9174e46
Unified GitHub Release after the 3 parallel jobs
AliSoftware b11e051
checkout + bundle install before create_gh_release
AliSoftware e7dc210
Fix attach_workspace vs checkout
AliSoftware ecd218b
Make create_gh_release infer the prerelease flag
AliSoftware 1e5c779
🚧 TO REVERT: Fake-bump versionName and disable upload_to_playstore an…
AliSoftware d0f2c75
Revert 🚧 1e5c7795f269cb7e340bb9405dadd11839d59b4f
AliSoftware f2a3e70
Fix wording and variable name
AliSoftware 556f155
Fix doc comment
AliSoftware f127d91
Remove legacy, unused `trigger_ci` private lane
AliSoftware 87dd0b3
Merge pull request #15319 from wordpress-mobile/jetpack-infra/unified…
AliSoftware 1555c4c
Add Weekly Roundup preference
renanferrari fdc2c2e
Add preference check to WeeklyRoundupNotifier
renanferrari ef9fc37
Extract method to setup setting view
renanferrari db7573e
Show Weekly Roundup toggle setting
renanferrari 2509bca
Add tests
renanferrari d055278
Add notify method to NotificationManagerWrapper
renanferrari 655ec08
Add option to force show Weekly Roundup notification on debug settings
renanferrari 78e8d96
Update tests
renanferrari 33ea1ff
Merge pull request #15325 from wordpress-mobile/feature/weekly-roundu…
ravishanker 963c403
Release script: Update build.gradle gutenbergMobileVersion to ref
fluiddot 70aa133
Update gutenberg-mobile reference
mkevins cbaf400
Merge pull request #15335 from wordpress-mobile/gutenberg/integrate_r…
mkevins 0b8b9aa
Remove need for app: param in finalize_release prechecks call
AliSoftware c87600b
Update translations
AliSoftware a332c6a
Bump version number
AliSoftware ef814b2
Update WordPress metadata translations for 18.2
AliSoftware 0a1316c
Update Jetpack metadata translations for 18.2
AliSoftware 96d19de
Cancel Zalpha job if not a rc
AliSoftware File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
2 changes: 2 additions & 0 deletions
2
WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationManagerWrapper.kt
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,10 +1,12 @@ | ||
package org.wordpress.android.ui.notifications | ||
|
||
import android.app.Notification | ||
import android.content.Context | ||
import androidx.core.app.NotificationManagerCompat | ||
import javax.inject.Inject | ||
|
||
class NotificationManagerWrapper | ||
@Inject constructor(private val context: Context) { | ||
fun areNotificationsEnabled() = NotificationManagerCompat.from(context).areNotificationsEnabled() | ||
fun notify(id: Int, notification: Notification) = NotificationManagerCompat.from(context).notify(id, notification) | ||
} |
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I needed to add that change because without it, this build step will be skipped as expected… but the rest of the job would continue, and ultimately fail on the
persist_to_workspace
step later in that job, as thebuild/
directory would not exist. This is what happened in this CircleCI run.So instead, this halts the job gracefully, and does not run the following steps after this one for the job, avoiding to try running the
persist_to_worspace
one.I didn't encounter this during my earlier tests when I did the intermediate betas because we only skip the Zalpha during the final release.