Compare commits

..

No commits in common. "main" and "v0.2.9" have entirely different histories.
main ... v0.2.9

5 changed files with 33 additions and 88 deletions

View file

@ -1,24 +0,0 @@
name: Testing Area
on:
workflow_dispatch:
jobs:
AlaskarTV:
runs-on: docker
container: ghcr.io/catthehacker/ubuntu:full-latest
steps:
- name: Notify
uses: https://github.com/appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_ID }}
token: ${{ secrets.TELEGRAM_BOT }}
format: markdown
message: |
*${{ github.actor }}*:
Commit message: ${{ github.event.commits[0].message }}
**AlaskarTV Built Successfully**
See [changes](https://git.askar.tv/nomad/alaskartv-app/releases/tag/v0.3.0)
To publish, click: [Trigger Publish Workflow](https://apo.askar.tv/api/publish)

View file

@ -69,7 +69,7 @@ jobs:
run: | run: |
sed -i ' sed -i '
s/title = "Jellyfin app version"/title = "AlaskarTV app version"/ s/title = "Jellyfin app version"/title = "AlaskarTV app version"/
s/content = "jellyfin-androidtv .*/content = "alaskartv-androidtv v${BuildConfig.VERSION_NAME} ${BuildConfig.BUILD_TYPE}"/ s/content = "jellyfin-androidtv .*/content = "alaskartv-androidtv ${BuildConfig.VERSION_NAME} ${BuildConfig.BUILD_TYPE}"/
s/icon = R.drawable.ic_jellyfin/icon = R.drawable.app_icon_foreground_monochrome/ s/icon = R.drawable.ic_jellyfin/icon = R.drawable.app_icon_foreground_monochrome/
' app-release/app/src/main/java/org/jellyfin/androidtv/ui/preference/category/about.kt ' app-release/app/src/main/java/org/jellyfin/androidtv/ui/preference/category/about.kt
@ -86,28 +86,20 @@ jobs:
sed -i 's/jellyfin-androidtv/alaskartv-androidtv/' \ sed -i 's/jellyfin-androidtv/alaskartv-androidtv/' \
app-release/app/src/main/java/org/jellyfin/androidtv/ui/startup/fragment/SelectServerFragment.kt app-release/app/src/main/java/org/jellyfin/androidtv/ui/startup/fragment/SelectServerFragment.kt
- name: Parse release.txt # - name: Push Source Code
id: parse_release # env:
run: | # GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
VERSION_RELEASE=$(cat release.txt) # run: |
echo "VERSION_RELEASE=$VERSION_RELEASE" >> $GITHUB_ENV # cd app-release
# rm -rf .git .github CODEOWNERS CONTRIBUTORS.md README.md
- name: Push Source Code # git init
env: # git config --global user.email "binaskar@gmail.com"
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }} # git config --global user.name "nomadics9"
VERSION_NAME: ${{ env.VERSION_NAME }} # git remote add origin https://x-access-token:${GITHUB_TOKEN}@github.com/nomadics9/alaskartv.git
VERSION_RELEASE: ${{ env.VERSION_RELEASE }} # git add .
run: | # git commit -m "Update"
cd app-release # git branch -M main
rm -rf .git .github CODEOWNERS CONTRIBUTORS.md README.md # git push origin main --force
git init
git config --global user.email "no-reply@askar.tv"
git config --global user.name "AlaskarTV-Bot"
git remote add origin https://${FORGEJO_TOKEN}:@git.askar.tv/nomad/alaskartv-source.git
git add .
git commit -m "Bumped to v${VERSION_NAME} : Release ${VERSION_RELEASE}"
git branch -M main
git push origin main --force
- name: Set up Java - name: Set up Java
uses: https://github.com/actions/setup-java@v4 uses: https://github.com/actions/setup-java@v4
@ -215,19 +207,3 @@ jobs:
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }} FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
VERSION_NAME: ${{ env.VERSION_NAME }} VERSION_NAME: ${{ env.VERSION_NAME }}
VERSION_CODE: ${{ env.VERSION_CODE }} VERSION_CODE: ${{ env.VERSION_CODE }}
- name: Notify
uses: https://github.com/appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_ID }}
token: ${{ secrets.TELEGRAM_BOT }}
message: |
${{ github.actor }}:
Commit message: ${{ github.event.commits[0].message }}
AlaskarTV Built Successfully
See changes: https://git.askar.tv/nomad/alaskartv-app/releases/tag/v${{ env.VERSION_NAME }}
[Publish to GooglePlay](https://apo.askar.tv/api/publish)
env:
VERSION_NAME: ${{ env.VERSION_NAME }}

View file

@ -1,4 +1,4 @@
name: Publish to Google Play name: Publish AlaskarTV
on: on:
workflow_dispatch: workflow_dispatch:
@ -34,30 +34,22 @@ jobs:
mkdir -p ./release/whatsnew mkdir -p ./release/whatsnew
cp whatsnew.txt ./release/whatsnew/whatsnew-en-US cp whatsnew.txt ./release/whatsnew/whatsnew-en-US
- name: Unzip Symbols
run: |
unzip ./release/debug-symbols.zip -d ./release/symbols
mv ./release/symbols/app-release/app/build/intermediates/merged_native_libs/release/mergeReleaseNativeLibs/out/lib/* ./release/symbols/
rm -rf ./release/symbols/app-release
- name: List Downloaded Files - name: List Downloaded Files
run: | run: |
ls -laR ./release ls -laR ./release
- name: Create service_account.json # - name: Create service_account.json
run: echo "${{ secrets.SERVICE_ACCOUNT_JSON }}" | base64 -d > service_account.json # run: echo '${{ secrets.SERVICE_ACCOUNT_JSON }}' > service_account.json
#
# - name: Deploy to Google Play
- name: Deploy to Google Play # uses: https://github.com/r0adkll/upload-google-play@v1
uses: https://github.com/r0adkll/upload-google-play@v1 # with:
with: # serviceAccountJson: service_account.json
serviceAccountJson: service_account.json # packageName: org.askartv.tv
packageName: org.askartv.tv # releaseFiles: "./release/*.aab"
releaseFiles: "./release/*.aab" # debugSymbols: "./release/symbols"
debugSymbols: "./release/symbols" # track: production
track: production # status: completed
status: completed # whatsNewDirectory: ./release/whatsnew
whatsNewDirectory: ./release/whatsnew

View file

@ -1 +1,2 @@
v0.18.4 v0.18.3

View file

@ -1,3 +1,3 @@
APPLICATION_ID=org.askartv.tv APPLICATION_ID=org.askartv.tv
VERSION_NAME=v0.3.1 VERSION_NAME=v0.2.9
VERSION_CODE=17 VERSION_CODE=15