update to 3.1.0

This commit is contained in:
vivabelarus 2022-12-30 22:16:52 +03:00
parent 97ff66111d
commit 7bc5becfce
No known key found for this signature in database
GPG key ID: D8D8542F5B70C314
5 changed files with 8 additions and 7 deletions

View file

@ -18,7 +18,7 @@ jobs:
- name: Save artifact
uses: actions/upload-artifact@master
with:
name: PTelegram-v3_0_23a.apk
name: PTelegram-v1234.apk
path: TMessagesProj/build/outputs/apk/afat/alpha/app.apk
- name: Create cleanup request
run: touch delete_request

View file

@ -13,8 +13,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: 3.0.23b
release_name: 3.0.23b
tag_name: 3.1.0b
release_name: 3.1.0b
body: |
Bug fixes.
draft: false

View file

@ -13,8 +13,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: 3.0.23
release_name: 3.0.23
tag_name: 3.1.0
release_name: 3.1.0
body: |
Bug fixes.
draft: false

View file

@ -35,7 +35,8 @@ public class BuildVars {
public static String HUAWEI_APP_ID = "101184875";
public static String PARTISAN_VERSION_STRING = "3.0.23";
public static String PARTISAN_VERSION_STRING = "3.1.0";
public static int PARTISAN_BUILD_VERSION = 1234;
// You can use this flag to disable Google Play Billing (If you're making fork and want it to be in Google Play)
public static boolean IS_BILLING_UNAVAILABLE = false;

View file

@ -8927,7 +8927,7 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
}
String versionString = LocaleController.formatString("TelegramVersion", R.string.TelegramVersion, String.format(Locale.US, "v%s (%d) %s", pInfo.versionName, code, abi));
if (SharedConfig.fakePasscodeActivatedIndex == -1 && SharedConfig.showVersion) {
versionString += "\nPTelegram version " + BuildVars.PARTISAN_VERSION_STRING;
versionString += "\nPTelegram version " + BuildVars.PARTISAN_VERSION_STRING + " (" + BuildVars.PARTISAN_BUILD_VERSION + ")";
}
cell.setText(versionString);
} catch (Exception e) {