mirror of
https://github.com/MaintainTeam/LastPipeBender.git
synced 2025-03-01 05:48:22 +03:00
mini rebranding
This commit is contained in:
parent
f40a324bfc
commit
141d260354
3 changed files with 12 additions and 12 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout branch "${{ github.ref_name }}"
|
- name: Checkout branch "${{ github.ref_name }}"
|
||||||
run: |
|
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 config core.symlinks false
|
||||||
git checkout --progress --force ${{ github.ref_name }}
|
git checkout --progress --force ${{ github.ref_name }}
|
||||||
|
|
||||||
|
|
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout branch "${{ github.ref_name }}"
|
- name: Checkout branch "${{ github.ref_name }}"
|
||||||
run: |
|
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 config core.symlinks false
|
||||||
git checkout --progress --force ${{ github.ref_name }}
|
git checkout --progress --force ${{ github.ref_name }}
|
||||||
|
|
||||||
|
@ -45,14 +45,14 @@ jobs:
|
||||||
version=$( grep "versionName" app/build.gradle | awk -F'"' '{print $2}' )
|
version=$( grep "versionName" app/build.gradle | awk -F'"' '{print $2}' )
|
||||||
echo "${KEYSTORE}" | base64 -d > apksign.keystore
|
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"
|
${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
|
- name: Create release and upload
|
||||||
run: |
|
run: |
|
||||||
version=$( grep "versionName" app/build.gradle | awk -F'"' '{print $2}' )
|
version=$( grep "versionName" app/build.gradle | awk -F'"' '{print $2}' )
|
||||||
gh auth login --with-token <<<"${{ secrets.GITHUB_TOKEN }}"
|
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 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 polymorphicshade/Tubular
|
gh release upload "v${version}" app/build/outputs/apk/release/*.apk --repo MaintainTeam/LastPipeBender
|
||||||
|
|
||||||
- name: Archive reports for job
|
- name: Archive reports for job
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
|
@ -16,8 +16,8 @@ android {
|
||||||
namespace 'org.schabi.newpipe'
|
namespace 'org.schabi.newpipe'
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.polymorphicshade.tubular"
|
applicationId "org.maintainteam.lastpipebender"
|
||||||
resValue "string", "app_name", "Tubular"
|
resValue "string", "app_name", "PipeBender"
|
||||||
minSdk 21
|
minSdk 21
|
||||||
targetSdk 33
|
targetSdk 33
|
||||||
versionCode 998
|
versionCode 998
|
||||||
|
@ -42,19 +42,19 @@ android {
|
||||||
if (normalizedWorkingBranch.isEmpty() || workingBranch == "master" || workingBranch == "dev") {
|
if (normalizedWorkingBranch.isEmpty() || workingBranch == "master" || workingBranch == "dev") {
|
||||||
// default values when branch name could not be determined or is master or dev
|
// default values when branch name could not be determined or is master or dev
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
resValue "string", "app_name", "Tubular Debug"
|
resValue "string", "app_name", "PipeBender Debug"
|
||||||
} else {
|
} else {
|
||||||
applicationIdSuffix ".debug." + normalizedWorkingBranch
|
applicationIdSuffix ".debug." + normalizedWorkingBranch
|
||||||
resValue "string", "app_name", "Tubular " + workingBranch
|
resValue "string", "app_name", "PipeBender " + workingBranch
|
||||||
archivesBaseName = 'Tubular_' + normalizedWorkingBranch
|
archivesBaseName = 'PipeBender_' + normalizedWorkingBranch
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
release {
|
release {
|
||||||
if (System.properties.containsKey('packageSuffix')) {
|
if (System.properties.containsKey('packageSuffix')) {
|
||||||
applicationIdSuffix System.getProperty('packageSuffix')
|
applicationIdSuffix System.getProperty('packageSuffix')
|
||||||
resValue "string", "app_name", "Tubular " + System.getProperty('packageSuffix')
|
resValue "string", "app_name", "PipeBender " + System.getProperty('packageSuffix')
|
||||||
archivesBaseName = 'Tubular_' + System.getProperty('packageSuffix')
|
archivesBaseName = 'PipeBender_' + System.getProperty('packageSuffix')
|
||||||
}
|
}
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
shrinkResources false // disabled to fix F-Droid's reproducible build
|
shrinkResources false // disabled to fix F-Droid's reproducible build
|
||||||
|
|
Loading…
Add table
Reference in a new issue