Add release tooling and generated launcher icon
This commit is contained in:
@@ -75,9 +75,28 @@ The project is a standard Gradle Android project:
|
||||
./gradlew assembleDebug
|
||||
```
|
||||
|
||||
For local release builds, `build.sh` uses the Android SDK and JDK available on
|
||||
the machine, writes `local.properties`, builds a release APK, and copies it to a
|
||||
local sync folder if present.
|
||||
Release builds require local signing configuration:
|
||||
|
||||
```bash
|
||||
./gradlew assembleRelease
|
||||
```
|
||||
|
||||
## Releases
|
||||
|
||||
Public releases use two-part versions such as `0.1`, `0.2`, and eventually
|
||||
`1.0`.
|
||||
|
||||
Gitea automatically provides source archives for release tags, so the release
|
||||
assets only need the APK and its checksum. A release can be created with:
|
||||
|
||||
```bash
|
||||
mkdir -p local
|
||||
printf '%s' 'your-gitea-token' > local/gitea-token
|
||||
|
||||
GITEA_BASE_URL=git.ajpanton.se \
|
||||
GITEA_TOKEN_FILE=local/gitea-token \
|
||||
scripts/release-gitea.sh 0.1
|
||||
```
|
||||
|
||||
## Development Note
|
||||
|
||||
|
||||
Reference in New Issue
Block a user