Skip to content

Commit

Permalink
Android: disable signing for CI release
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdapioneer committed Nov 22, 2023
1 parent fcaca3e commit be30961
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import com.lambdapioneer.sloth.app.ui.theme.Teal

@Composable
internal fun MainScreen(model: MainViewModel) {
var password by remember { mutableStateOf("") }
var password by remember { mutableStateOf("test") }
val key = model.key.collectAsState().value
val busy = model.busy.collectAsState().value
val error = model.error.collectAsState().value
Expand Down
2 changes: 1 addition & 1 deletion android/scripts/01_publish_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ set -e;

mkdir -p maven/com;
rm -rv maven/com;
./gradlew publishAllPublicationsToLocalRepository;
./gradlew publishAllPublicationsToLocalRepository -PdisableSigning;
tree maven/com;
4 changes: 2 additions & 2 deletions android/scripts/04_update_github.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

```
git add .
git commit -m "Updated version to 1.CHANGEHERE.0"
git tag -a v1.CHANGEHERE.0 COMMITIDENTIFIER
git commit --allow-empty -m "Updated version to v<<CHANGEHERE>>"
git tag -a v<<CHANGEHERE>> <<COMMITIDENTIFIER>>
```

## PUSH to GitHub
Expand Down
4 changes: 4 additions & 0 deletions android/sloth-pwhash-libsodium/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ signing {
sign(publishing.publications["release"])
}

tasks.withType(Sign::class.java) {
enabled = findProperty("disableSigning") == null
}

dependencies {
implementation(project(":sloth"))

Expand Down
4 changes: 4 additions & 0 deletions android/sloth/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ signing {
sign(publishing.publications["release"])
}

tasks.withType(Sign::class.java) {
enabled = findProperty("disableSigning") == null
}

dependencies {
implementation(libs.androidx.core.ktx)

Expand Down

0 comments on commit be30961

Please sign in to comment.