Skip to content

Commit d03bc88

Browse files
committed
prepare release v2.0.0
1 parent b706a50 commit d03bc88

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,18 @@ from the Play Store listing.
3434

3535
## Usage
3636

37+
_See [v1
38+
README](https://github.com/ashutoshgngwr/validate-fastlane-supply-metadata/blob/v1/README.md)
39+
if you're using v1._
40+
3741
```yaml
3842
on: [pull_request]
3943
jobs:
4044
# required to run on Linux because this is a docker container action
4145
runs-on: ubuntu-latest
4246
steps:
4347
- uses: actions/checkout@v1
44-
- uses: ashutoshgngwr/validate-fastlane-supply-metadata@v1
48+
- uses: ashutoshgngwr/validate-fastlane-supply-metadata@v2
4549
with:
4650
fastlaneDir: ./android-metadata # optional. default is './fastlane/metadata/android'.
4751
# enable check to validate if a locale is supported by the Play Store Listing.
@@ -57,14 +61,14 @@ directly for environments other than GitHub actions.
5761
5862
```sh
5963
docker run --rm --workdir /app --mount type=bind,source="$(pwd)",target=/app \
60-
ashutoshgngwr/validate-fastlane-supply-metadata:v1 -help
64+
ashutoshgngwr/validate-fastlane-supply-metadata:v2 -help
6165
```
6266

6367
The default entry point accepts the following command-line flags.
6468

6569
```text
6670
-fastlane-path string
67-
path to the Fastlane directory (default "./fastlane")
71+
path to the Fastlane Android directory (default "./fastlane/metadata/android")
6872
-ga-file-annotations bool
6973
enables file annotations for GitHub action (default: false)
7074
-play-store-locales bool

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ inputs:
1414
default: "false"
1515
runs:
1616
using: docker
17-
image: docker://ashutoshgngwr/validate-fastlane-supply-metadata:v1.4.1
17+
image: docker://ashutoshgngwr/validate-fastlane-supply-metadata:v2.0.0
1818
args:
1919
- -ga-file-annotations
2020
- -play-store-locales=${{ inputs.usePlayStoreLocales }}

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var (
4949
)
5050

5151
func init() {
52-
flag.StringVar(&fastlanePath, "fastlane-path", "./fastlane", "path to the Fastlane directory")
52+
flag.StringVar(&fastlanePath, "fastlane-path", "./fastlane/metadata/android", "path to the Fastlane Android directory")
5353
flag.BoolVar(&useFileAnnotations, "ga-file-annotations", false, "enables file annotations for GitHub action")
5454
flag.BoolVar(&usePlayStoreLocales, "play-store-locales", false, "throw error if a locale isn't recognised by Play Store")
5555
flag.Parse()

0 commit comments

Comments
 (0)