Skip to content

Commit

Permalink
add release notes and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneschepke committed Sep 23, 2024
1 parent 791b532 commit 47f619f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
16 changes: 12 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
<string name="docs_url" translatable="false">https://zaneschepke.com/wgtunnel-docs/overview.html</string>
<string name="docs_features" translatable="false">https://zaneschepke.com/wgtunnel-docs/features.html</string>
<string name="privacy_policy_url" translatable="false">https://zaneschepke.com/wgtunnel-docs/privacypolicy.html</string>
<string name="error_file_extension">File is not a .conf or .zip</string>
<string name="docs_wildcards" translatable="false" >https://zaneschepke.com/wgtunnel-docs/features.html#wildcard-wi-fi-name-support</string>
<string name="error_file_extension">File is not a .conf or .zip</string>
<string name="turn_off_tunnel">Action requires tunnel off</string>
<string name="no_tunnels">No tunnels added yet!</string>
<string name="discord_url" translatable="false">https://discord.gg/rbRRNh6H7V</string>
Expand Down
5 changes: 5 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/35200.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 47f619f

Please sign in to comment.