Skip to content

Commit

Permalink
mini rebranding
Browse files Browse the repository at this point in the history
  • Loading branch information
asandikci committed Jul 26, 2024
1 parent f40a324 commit 141d260
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down
14 changes: 7 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 141d260

Please sign in to comment.