You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,35 @@
10
10
11
11
### New Features
12
12
13
-
* Added a new `ios_generate_strings_file_from_code` action to replace the now-deprecated `ios_localize_project` action (and `Scripts/localize.py` script in app repos). [#309, #311]
13
+
_None_
14
14
15
15
### Bug Fixes
16
16
17
17
_None_
18
18
19
19
### Internal Changes
20
20
21
-
_None_
21
+
* Ensure that the `gem push` step only runs on CI if lint, test and danger steps passed before it. [#325]
22
+
23
+
## 2.3.0
24
+
25
+
### New Features
26
+
27
+
* Added parameter for default/base branch across several actions [#319]
28
+
29
+
## 2.2.0
30
+
31
+
### New Features
32
+
33
+
* Added a new `ios_generate_strings_file_from_code` action to replace the now-deprecated `ios_localize_project` action (and `Scripts/localize.py` script in app repos). [#309, #311]
34
+
* Added a `comment_on_pr` action to allow commenting on (and updating comments on) PRs. [#313]
35
+
* Added the ability to use the `GITHUB_TOKEN` environment variable for GitHub operations. `GHHELPER_ACCESS` will be deprecated in a future version. [#313]
36
+
* Added support for downloading GitHub content for private repositories [#321]
37
+
38
+
### Bug Fixes
39
+
40
+
* Fixed the rendering of PR links in the body of GitHub Releases created via the `create_release` action. [#316]
41
+
* Fixed a bug introduced in [#313] that caused the GitHub helper not to work [#318]
Copy file name to clipboardExpand all lines: Rakefile
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -62,8 +62,7 @@ task :new_release do
62
62
Console.header'Commit and push changes...'
63
63
GitHelper.commit_files("Bumped to version #{new_version}",[VERSION_FILE,'Gemfile.lock','CHANGELOG.md'])
64
64
65
-
Console.header'Opening PR drafts in your default browser...'
66
-
GitHelper.prepare_github_pr("release/#{new_version}",'develop',"Release #{new_version} into develop","New version #{new_version}")
65
+
Console.header'Opening PR draft in your default browser...'
67
66
GitHelper.prepare_github_pr("release/#{new_version}",'trunk',"Release #{new_version} into trunk","New version #{new_version}. Be sure to create a GitHub Release and tag once this PR gets merged.")
68
67
69
68
Console.info<<~INSTRUCTIONS
@@ -72,8 +71,8 @@ task :new_release do
72
71
73
72
>>> WHAT'S NEXT
74
73
75
-
1. Create PRs to `develop` and `trunk`.
76
-
2. Once the PRs are merged, publish a GitHub release for \`#{new_version}\`, targeting \`trunk\`,
74
+
1. Create a PR against `trunk`.
75
+
2. Once the PR is merged, publish a GitHub release for \`#{new_version}\`, targeting \`trunk\`,
77
76
creating a new \`#{new_version} tag in the process.
78
77
79
78
The creation of the new tag will trigger a CI workflow that will take care of doing the
Copy file name to clipboardExpand all lines: docs/screenshot-compositor.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ This argument is a path to the directory containing the screenshots, typically g
23
23
24
24
**`metadata_folder`**
25
25
26
-
This argument is a path to the directory containing any metadata, such as localized strings for use on the final screenshots. This directory should contain subdirectories named after locales.
26
+
This argument is a path to the directory containing any metadata, such as localized strings for use on the final screenshots. This directory should contain subdirectories named after locales.
27
27
28
28
> Note: The tool will automatically check these directories, and will be default use any locales found in both directories.
29
29
@@ -43,7 +43,7 @@ The tool uses a `.json` file for configuration. By default, the tool will attemp
43
43
44
44
The following sample implementations provide a good example of how to create a configuration file:
@@ -160,7 +160,7 @@ Entries specify the set of output screenshots. This takes the form of an array o
160
160
161
161
> Note: There is a 1:1 relationship between entries and the final screenshots. Note that it is not necessary to create a set of entries for each locale – this is automatically handled for you.
162
162
163
-
Each entry looks something like this:
163
+
Each entry looks something like this:
164
164
165
165
```json
166
166
{
@@ -251,19 +251,19 @@ Specifies a list of attachments, which can be images or text. They are composite
251
251
```
252
252
Text attachments use the following keys:
253
253
254
-
**`text`**
254
+
**`text`**
255
255
256
256
Specifies the path to the text file for this attachment. The path should be specified relative to the configuration file, and can contain the `{locale}` placeholder to allow for localization.
257
257
258
-
**`size`**
258
+
**`size`**
259
259
260
-
Sets the dimensions of the text bounding box within the final image. This must be provided as an array with two values corresponding to the width and height, respectively. If the size is too small, the compositor will crash saying it was unable to draw the text in an area this small. The text will be horizontally and vertically centered within the bounding box.
260
+
Sets the dimensions of the text bounding box within the final image. This must be provided as an array with two values corresponding to the width and height, respectively. If the size is too small, the compositor will crash saying it was unable to draw the text in an area this small. The text will be horizontally and vertically centered within the bounding box.
261
261
262
-
**`position`**
262
+
**`position`**
263
263
264
264
Sets the origin of the text bounding box within the final image. This must be provided as an array with two values corresponding to the x and y coordinates, respectively.
265
265
266
-
**`font-size`**
266
+
**`font-size`**
267
267
268
268
Specifies the font size for the text of this attachment. If this number is too large, such that it doesn't fit into the bounding box described by the `size` key, the compositor will exit with an error message.
269
269
@@ -282,19 +282,19 @@ Specifies a stylesheet used for this attachment. It should contain a path to the
282
282
283
283
Image attachments use the following keys:
284
284
285
-
**`file`**
285
+
**`file`**
286
286
287
287
Specifies the path to the attachment image. The path should be specified relative to the configuration file, and can contain the `{locale}` placeholder to allow for localization.
288
288
289
-
**`size`**
289
+
**`size`**
290
290
291
291
Sets the dimensions of the attachment within the final image. This must be provided as an array with two values corresponding to the width and height, respectively.
292
292
293
-
**`position`**
293
+
**`position`**
294
294
295
295
Sets the origin of the attachment within the final image. This must be provided as an array with two values corresponding to the x and y coordinates, respectively.
296
296
297
-
**`operations`**
297
+
**`operations`**
298
298
299
299
Specifies a set of operations to perform on the attachment prior to drawing it to the canvas. Operations run in the order they're specified within the configuration file. Operations are defined as an array of hashes. For example:
300
300
@@ -308,18 +308,18 @@ Specifies a set of operations to perform on the attachment prior to drawing it t
308
308
309
309
They use the following keys:
310
310
311
-
**`type`**
311
+
**`type`**
312
312
313
313
Describes the type of operation. Currently `crop` is the only operation that can be specified.
314
314
315
315
**Operations**
316
316
317
317
*Crop* allows you to crop the image using two keys:
318
318
319
-
**`at`**
319
+
**`at`**
320
320
321
321
Specifies the origin point crop bounding box. This must be provided as an array with two values corresponding to the x and y coordinates, respectively.
322
322
323
-
**`to`**
323
+
**`to`**
324
324
325
325
Specifies the dimensions of the crop bounding box. This must be provided as an array with two values corresponding to the width and height, respectively.
no_alpha_version_message="No alpha version configured. If you wish to configure an alpha version please update version.properties to include an alpha key for this app\n"
24
25
# Ask user confirmation
25
26
unlessparams[:skip_confirm]
26
-
confirm_message="Building a new release branch starting from develop.\nCurrent version is #{current_version[Fastlane::Helper::Android::VersionHelper::VERSION_NAME]} (#{current_version[Fastlane::Helper::Android::VersionHelper::VERSION_CODE]}).\n"
27
+
confirm_message="Building a new release branch starting from #{default_branch}.\nCurrent version is #{current_version[Fastlane::Helper::Android::VersionHelper::VERSION_NAME]} (#{current_version[Fastlane::Helper::Android::VersionHelper::VERSION_CODE]}).\n"
27
28
confirm_message += current_alpha_version.nil? ? no_alpha_version_message : "Current Alpha version is #{current_alpha_version[Fastlane::Helper::Android::VersionHelper::VERSION_NAME]} (#{current_alpha_version[Fastlane::Helper::Android::VersionHelper::VERSION_CODE]}).\n"
28
29
confirm_message += "After codefreeze the new version will be: #{next_version[Fastlane::Helper::Android::VersionHelper::VERSION_NAME]} (#{next_version[Fastlane::Helper::Android::VersionHelper::VERSION_CODE]}).\n"
29
30
confirm_message += current_alpha_version.nil? ? '' : "After codefreeze the new Alpha will be: #{next_alpha_version[Fastlane::Helper::Android::VersionHelper::VERSION_NAME]} (#{next_alpha_version[Fastlane::Helper::Android::VersionHelper::VERSION_CODE]}).\n"
@@ -47,7 +48,7 @@ def self.description
47
48
end
48
49
49
50
defself.details
50
-
'Updates the develop branch, checks the app version and ensure the branch is clean'
51
+
'Updates the default branch, checks the app version and ensure the branch is clean'
51
52
end
52
53
53
54
defself.available_options
@@ -58,6 +59,11 @@ def self.available_options
58
59
description: 'Skips confirmation before codefreeze',
59
60
is_string: false,# true: verifies the input is a string, false: every kind of value
60
61
default_value: false),# the default value if the user didn't provide one
0 commit comments