Skip to content

Commit 776f571

Browse files
committed
Simplify READMEs
1 parent dab73db commit 776f571

4 files changed

Lines changed: 27 additions & 134 deletions

File tree

.github/workflows/README.md

Lines changed: 2 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# GitHub Actions Workflows for App Publishing
22

3-
This directory contains GitHub Actions workflow configurations for automating the build and deployment process of the
4-
Secure Camera app to both Google Play and GitHub Releases.
3+
This directory contains GitHub Actions workflow configurations for automating the build and
4+
deployment process to both Google Play and GitHub Releases.
55

66
## Workflow: Publish Releases
77

@@ -11,25 +11,6 @@ the format `v*` (e.g., `v1.0.0`) is pushed to the repository. It contains two jo
1111
1. Build and publish to Play Store
1212
2. Build and publish GitHub release
1313

14-
### Play Store Job Steps
15-
16-
1. Checkout the code
17-
2. Set up JDK 17
18-
3. Set up Ruby and install Fastlane
19-
4. Decode the Android keystore from a base64-encoded secret
20-
5. Build the release AAB with proper signing
21-
6. Decode the Google Play service account key
22-
7. Deploy to Google Play using Fastlane
23-
24-
### GitHub Release Job Steps
25-
26-
1. Checkout the code
27-
2. Set up JDK 17
28-
3. Decode a separate Android keystore from a base64-encoded secret
29-
4. Build a signed release APK
30-
5. Create a GitHub release
31-
6. Attach the APK to the release
32-
3314
### Required Secrets
3415

3516
#### For Play Store Publishing
@@ -67,39 +48,3 @@ The following secrets must be configured in your GitHub repository settings:
6748
3. **GITHUB_RELEASE_KEY_ALIAS**: Alias of the key in the GitHub release keystore
6849

6950
4. **GITHUB_RELEASE_KEY_PASSWORD**: Password for the key in the GitHub release keystore
70-
71-
### How to Use
72-
73-
1. Set up all the required secrets in your GitHub repository settings:
74-
- For Play Store publishing: ENCODED_KEYSTORE, KEYSTORE_PASSWORD, KEY_ALIAS, KEY_PASSWORD, PLAY_STORE_CONFIG_JSON
75-
- For GitHub release publishing: GITHUB_RELEASE_ENCODED_KEYSTORE, GITHUB_RELEASE_KEYSTORE_PASSWORD,
76-
GITHUB_RELEASE_KEY_ALIAS, GITHUB_RELEASE_KEY_PASSWORD
77-
2. When you're ready to release a new version:
78-
- Update the version information in `gradle/libs.versions.toml`
79-
- Commit and push the changes
80-
- Create and push a new tag with the format `v1.0.0` (matching your version)
81-
```bash
82-
git tag v1.0.0
83-
git push origin v1.0.0
84-
```
85-
3. The workflow will automatically trigger and:
86-
- Deploy the app to Google Play
87-
- Create a GitHub release with the signed APK attached
88-
89-
### Troubleshooting
90-
91-
If the workflow fails, check the following:
92-
93-
#### For Play Store Publishing
94-
95-
1. Ensure all Play Store secrets are correctly configured
96-
2. Verify that the keystore is valid and contains the correct key
97-
3. Make sure the Google Play service account has the necessary permissions
98-
4. Check that the app's version code has been incremented since the last release
99-
100-
#### For GitHub Release Publishing
101-
102-
1. Ensure all GitHub release secrets are correctly configured
103-
2. Verify that the GitHub release keystore is valid and contains the correct key
104-
3. Check that you have the necessary permissions to create releases in the repository
105-
4. Verify that the APK is being built correctly

README.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -61,30 +61,24 @@ Attacks come in many forms, from accidental swipes, to intrusive surveillance, a
6161

6262
---
6363

64-
## Contributing
65-
66-
Pull requests are happily accepted.
64+
## License
6765

68-
Start with an issue or draft PR and we can talk it through.
66+
SnapSafe is released under the [MIT License](LICENSE). Use it, fork it, improve it—just keep it open.
6967

70-
### Automated Publishing
68+
---
7169

72-
The project uses GitHub Actions to automatically build and publish new releases to Google Play when a tag with the
73-
format `v*` (e.g., `v1.0.0`) is pushed. See the [GitHub Actions workflow documentation](.github/workflows/README.md) for
74-
details on how this works and the required setup.
70+
## Privacy
7571

76-
The project includes a pre-configured [FastLane](https://fastlane.tools/) setup for automating the deployment process.
77-
See the [FastLane documentation](fastlane/README.md) for details on how to use it for manual deployments or to customize
78-
the metadata.
72+
Our full, ultra‑brief Privacy Policy lives in [PRIVACY.md](PRIVACY.md). Spoiler: we collect nothing.
7973

8074
---
8175

82-
## License
76+
## Development
8377

84-
SnapSafe is released under the [MIT License](LICENSE). Use it, fork it, improve it—just keep it open.
78+
See [docs/HOW-TO-RELEASE](docs/HOW-TO-RELEASE.md) on how to publish a new release.
8579

86-
---
80+
### Contributing
8781

88-
## Privacy
82+
Pull requests are happily accepted.
8983

90-
Our full, ultra‑brief Privacy Policy lives in [PRIVACY.md](PRIVACY.md). Spoiler: we collect nothing.
84+
Start with an issue or draft PR and we can talk it through.

docs/HOW-TO-RELEASE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# How to publish a new release
2+
3+
- Update `versionCode` and `versionName` in [libs.versions.toml](/gradle/libs.versions.toml)
4+
- Create a changelog in: `\fastlane\metadata\android\en-US`
5+
- Create a **semvar** tag in the form of "v1.0.0" on `master` and push it, this will trigger a release.
6+
7+
### Automated Publishing
8+
9+
We use GitHub Actions to automatically build and publish new releases to Google Play when a tag with the
10+
format `v*` (e.g., `v1.0.0`) is pushed. See the [GitHub Actions workflow documentation](.github/workflows/README.md) for
11+
details on how this works and the required setup.
12+
13+
The project includes a pre-configured [FastLane](https://fastlane.tools/) setup for automating the deployment process.
14+
See the [FastLane documentation](fastlane/README.md) for details on how to use it for manual deployments or to customize
15+
the metadata.

fastlane/README.md

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)