@@ -44,17 +44,20 @@ android {
4444 debuggable true
4545
4646 // suffix the app id and the app name with git branch name
47- def workingBranch = getGitWorkingBranch()
48- def normalizedWorkingBranch = workingBranch. replaceFirst(" ^[^A-Za-z]+" , " " ). replaceAll(" [^0-9A-Za-z]+" , " " )
49- if (normalizedWorkingBranch. isEmpty() || workingBranch == " master" || workingBranch == " dev" ) {
50- // default values when branch name could not be determined or is master or dev
51- applicationIdSuffix " .debug"
52- resValue " string" , " app_name" , " NewPipe Debug"
53- } else {
54- applicationIdSuffix " .debug." + normalizedWorkingBranch
55- resValue " string" , " app_name" , " NewPipe " + workingBranch
56- archivesBaseName = ' NewPipe_' + normalizedWorkingBranch
57- }
47+ // def workingBranch = getGitWorkingBranch()
48+ // def normalizedWorkingBranch = workingBranch.replaceFirst("^[^A-Za-z]+", "").replaceAll("[^0-9A-Za-z]+", "")
49+ // if (normalizedWorkingBranch.isEmpty() || workingBranch == "master" || workingBranch == "dev") {
50+ // // default values when branch name could not be determined or is master or dev
51+ // applicationIdSuffix ".debug"
52+ // resValue "string", "app_name", "NewPipe Debug"
53+ // } else {
54+ // applicationIdSuffix ".debug." + normalizedWorkingBranch
55+ // resValue "string", "app_name", "NewPipe " + workingBranch
56+ // archivesBaseName = 'NewPipe_' + normalizedWorkingBranch
57+ // }
58+ applicationIdSuffix " .debug.offline"
59+ resValue " string" , " app_name" , " Offline NewPipe "
60+ archivesBaseName = ' NewPipe_offline'
5861 }
5962
6063 release {
0 commit comments