mini rebranding

This commit is contained in:
Aliberk Sandıkçı 2024-07-26 22:55:05 +03:00
parent f40a324bfc
commit 141d260354
No known key found for this signature in database
GPG key ID: 25C67A03B5666BC1
3 changed files with 12 additions and 12 deletions

View file

@ -36,7 +36,7 @@ jobs:
steps:
- name: Checkout branch "${{ github.ref_name }}"
run: |
git clone --no-checkout https://github.com/polymorphicshade/Tubular.git .
git clone --no-checkout https://github.com/MaintainTeam/LastPipeBender.git .
git config core.symlinks false
git checkout --progress --force ${{ github.ref_name }}

View file

@ -23,7 +23,7 @@ jobs:
steps:
- name: Checkout branch "${{ github.ref_name }}"
run: |
git clone --no-checkout https://github.com/polymorphicshade/Tubular.git .
git clone --no-checkout https://github.com/MaintainTeam/LastPipeBender.git .
git config core.symlinks false
git checkout --progress --force ${{ github.ref_name }}
@ -45,14 +45,14 @@ jobs:
version=$( grep "versionName" app/build.gradle | awk -F'"' '{print $2}' )
echo "${KEYSTORE}" | base64 -d > apksign.keystore
${ANDROID_HOME}/build-tools/34.0.0/apksigner sign --ks apksign.keystore --ks-pass env:SIGNING_STORE_PASSWORD "app/build/outputs/apk/release/app-release-unsigned.apk"
mv app/build/outputs/apk/release/app-release-unsigned.apk app/build/outputs/apk/release/"tubular_v${version}.apk"
mv app/build/outputs/apk/release/app-release-unsigned.apk app/build/outputs/apk/release/"lastpipebender_v${version}.apk"
- name: Create release and upload
run: |
version=$( grep "versionName" app/build.gradle | awk -F'"' '{print $2}' )
gh auth login --with-token <<<"${{ secrets.GITHUB_TOKEN }}"
gh release create "v${version}" --title "${{ inputs.title }}" --notes-file ".github/changelog.md" --prerelease=${{ inputs.is_pre_release }} --repo polymorphicshade/Tubular
gh release upload "v${version}" app/build/outputs/apk/release/*.apk --repo polymorphicshade/Tubular
gh release create "v${version}" --title "${{ inputs.title }}" --notes-file ".github/changelog.md" --prerelease=${{ inputs.is_pre_release }} --repo MaintainTeam/LastPipeBender
gh release upload "v${version}" app/build/outputs/apk/release/*.apk --repo MaintainTeam/LastPipeBender
- name: Archive reports for job
uses: actions/upload-artifact@v4

View file

@ -16,8 +16,8 @@ android {
namespace 'org.schabi.newpipe'
defaultConfig {
applicationId "org.polymorphicshade.tubular"
resValue "string", "app_name", "Tubular"
applicationId "org.maintainteam.lastpipebender"
resValue "string", "app_name", "PipeBender"
minSdk 21
targetSdk 33
versionCode 998
@ -42,19 +42,19 @@ android {
if (normalizedWorkingBranch.isEmpty() || workingBranch == "master" || workingBranch == "dev") {
// default values when branch name could not be determined or is master or dev
applicationIdSuffix ".debug"
resValue "string", "app_name", "Tubular Debug"
resValue "string", "app_name", "PipeBender Debug"
} else {
applicationIdSuffix ".debug." + normalizedWorkingBranch
resValue "string", "app_name", "Tubular " + workingBranch
archivesBaseName = 'Tubular_' + normalizedWorkingBranch
resValue "string", "app_name", "PipeBender " + workingBranch
archivesBaseName = 'PipeBender_' + normalizedWorkingBranch
}
}
release {
if (System.properties.containsKey('packageSuffix')) {
applicationIdSuffix System.getProperty('packageSuffix')
resValue "string", "app_name", "Tubular " + System.getProperty('packageSuffix')
archivesBaseName = 'Tubular_' + System.getProperty('packageSuffix')
resValue "string", "app_name", "PipeBender " + System.getProperty('packageSuffix')
archivesBaseName = 'PipeBender_' + System.getProperty('packageSuffix')
}
minifyEnabled true
shrinkResources false // disabled to fix F-Droid's reproducible build