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: |
sed -i '
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/
' 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/' \
app-release/app/src/main/java/org/jellyfin/androidtv/ui/startup/fragment/SelectServerFragment.kt
- name: Parse release.txt
id: parse_release
run: |
VERSION_RELEASE=$(cat release.txt)
echo "VERSION_RELEASE=$VERSION_RELEASE" >> $GITHUB_ENV
- name: Push Source Code
env:
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
VERSION_NAME: ${{ env.VERSION_NAME }}
VERSION_RELEASE: ${{ env.VERSION_RELEASE }}
run: |
cd app-release
rm -rf .git .github CODEOWNERS CONTRIBUTORS.md README.md
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: Push Source Code
# env:
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# run: |
# cd app-release
# rm -rf .git .github CODEOWNERS CONTRIBUTORS.md README.md
# git init
# git config --global user.email "binaskar@gmail.com"
# git config --global user.name "nomadics9"
# git remote add origin https://x-access-token:${GITHUB_TOKEN}@github.com/nomadics9/alaskartv.git
# git add .
# git commit -m "Update"
# git branch -M main
# git push origin main --force
- name: Set up Java
uses: https://github.com/actions/setup-java@v4
@ -215,19 +207,3 @@ jobs:
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
VERSION_NAME: ${{ env.VERSION_NAME }}
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:
workflow_dispatch:
@ -34,30 +34,22 @@ jobs:
mkdir -p ./release/whatsnew
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
run: |
ls -laR ./release
- name: Create service_account.json
run: echo "${{ secrets.SERVICE_ACCOUNT_JSON }}" | base64 -d > service_account.json
- name: Deploy to Google Play
uses: https://github.com/r0adkll/upload-google-play@v1
with:
serviceAccountJson: service_account.json
packageName: org.askartv.tv
releaseFiles: "./release/*.aab"
debugSymbols: "./release/symbols"
track: production
status: completed
whatsNewDirectory: ./release/whatsnew
# - name: Create service_account.json
# run: echo '${{ secrets.SERVICE_ACCOUNT_JSON }}' > service_account.json
#
# - name: Deploy to Google Play
# uses: https://github.com/r0adkll/upload-google-play@v1
# with:
# serviceAccountJson: service_account.json
# packageName: org.askartv.tv
# releaseFiles: "./release/*.aab"
# debugSymbols: "./release/symbols"
# track: production
# status: completed
# 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
VERSION_NAME=v0.3.1
VERSION_CODE=17
VERSION_NAME=v0.2.9
VERSION_CODE=15