diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index e09e282..61e395d 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -9,10 +9,18 @@ plugins {
}
val versionFile = file("$rootDir/versionCode.txt")
-val versionCodeIncrement = if (versionFile.exists()) {
- versionFile.readText().toInt() + 1
-} else {
- 1
+
+val versionCodeIncrement = with(getBuildTaskName().lowercase()) {
+ when {
+ this.contains(Constants.NIGHTLY) || this.contains(Constants.PRERELEASE) -> {
+ if (versionFile.exists()) {
+ versionFile.readText().toInt() + 1
+ } else {
+ 1
+ }
+ }
+ else -> 0
+ }
}
android {
diff --git a/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/settings/components/WildcardSupportingLabel.kt b/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/settings/components/WildcardSupportingLabel.kt
index ec6986b..9c78a4b 100644
--- a/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/settings/components/WildcardSupportingLabel.kt
+++ b/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/settings/components/WildcardSupportingLabel.kt
@@ -18,7 +18,7 @@ fun WildcardSupportingLabel(onClick: (url: String) -> Unit) {
buildAnnotatedString {
pushStringAnnotation(
tag = "details",
- annotation = stringResource(id = R.string.docs_features),
+ annotation = stringResource(id = R.string.docs_wildcards),
)
withStyle(
style = SpanStyle(color = MaterialTheme.colorScheme.primary),
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 3122c5e..0dbd484 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -8,7 +8,8 @@
https://zaneschepke.com/wgtunnel-docs/overview.html
https://zaneschepke.com/wgtunnel-docs/features.html
https://zaneschepke.com/wgtunnel-docs/privacypolicy.html
- File is not a .conf or .zip
+ https://zaneschepke.com/wgtunnel-docs/features.html#wildcard-wi-fi-name-support
+ File is not a .conf or .zip
Action requires tunnel off
No tunnels added yet!
https://discord.gg/rbRRNh6H7V
diff --git a/fastlane/metadata/android/en-US/changelogs/35200.txt b/fastlane/metadata/android/en-US/changelogs/35200.txt
new file mode 100644
index 0000000..86c9077
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/35200.txt
@@ -0,0 +1,5 @@
+What's new:
+- Added wildcard support for wifi names
+- Fix slowness on mobile data
+- Various bug fixes and improvements
+- UI optimizations