Compare commits

...

19 commits
v0.3.0 ... main

Author SHA1 Message Date
nomadics9
a3db1460fc
forge 2025-01-07 19:20:21 +03:00
nomadics9
1cc24dd00a
Workflows: Trigger publish with a click 2025-01-07 18:25:35 +03:00
nomadics9
23a5a48048
Workflows: playground 2025-01-07 18:23:57 +03:00
nomadics9
06d48447d2
Workflows: Trigger publish with a click 2025-01-07 17:36:07 +03:00
nomadics9
26232f1e56
Workflows: playground 2025-01-07 17:27:14 +03:00
nomadics9
b297596d5f
Workflows: playground 2025-01-07 16:37:20 +03:00
nomadics9
be92efda14
Workflows: playground 2025-01-07 16:35:11 +03:00
nomadics9
4e3513491c
Workflows: playground 2025-01-07 16:34:22 +03:00
nomadics9
1c2b26af8c
Workflows: playground 2025-01-07 16:32:48 +03:00
nomadics9
0e16dbc314
Workflow: Notify on successful build 2025-01-07 16:26:22 +03:00
nomadics9
e39ba987c4
Init: testing workflow
All checks were successful
Testing Area / AlaskarTV (push) Successful in 13s
2025-01-07 16:22:16 +03:00
AlaskarTV-Bot
3b1a287864 Bump version to v0.18.4
Some checks failed
Build Latest / AlaskarTV (push) Has been cancelled
2025-01-07 13:03:30 +00:00
nomadics9
93980aebb5
Workflows: add version and release names to commit 2025-01-07 15:37:28 +03:00
nomadics9
6e01a44a83
Workflows: typo 2025-01-07 14:46:35 +03:00
nomadics9
3101fdcbc5
Workflows: unzip symbols 2025-01-06 23:13:45 +03:00
nomadics9
e8a85a9021
Workflows: unzip symbols 2025-01-06 23:12:18 +03:00
nomadics9
781a96d97f
Workflows: unzip symbols 2025-01-06 23:07:42 +03:00
nomadics9
610e898a71
Workflows: fix service account 2025-01-06 23:03:18 +03:00
affdb7eed3 Update .github/workflows/publish.yml 2025-01-06 19:46:27 +00:00
4 changed files with 61 additions and 5 deletions

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 ${BuildConfig.VERSION_NAME} ${BuildConfig.BUILD_TYPE}"/ s/content = "jellyfin-androidtv .*/content = "alaskartv-androidtv v${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,9 +86,17 @@ 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
id: parse_release
run: |
VERSION_RELEASE=$(cat release.txt)
echo "VERSION_RELEASE=$VERSION_RELEASE" >> $GITHUB_ENV
- name: Push Source Code - name: Push Source Code
env: env:
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }} FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
VERSION_NAME: ${{ env.VERSION_NAME }}
VERSION_RELEASE: ${{ env.VERSION_RELEASE }}
run: | run: |
cd app-release cd app-release
rm -rf .git .github CODEOWNERS CONTRIBUTORS.md README.md rm -rf .git .github CODEOWNERS CONTRIBUTORS.md README.md
@ -97,7 +105,7 @@ jobs:
git config --global user.name "AlaskarTV-Bot" git config --global user.name "AlaskarTV-Bot"
git remote add origin https://${FORGEJO_TOKEN}:@git.askar.tv/nomad/alaskartv-source.git git remote add origin https://${FORGEJO_TOKEN}:@git.askar.tv/nomad/alaskartv-source.git
git add . git add .
git commit -m "Update" git commit -m "Bumped to v${VERSION_NAME} : Release ${VERSION_RELEASE}"
git branch -M main git branch -M main
git push origin main --force git push origin main --force
@ -207,3 +215,19 @@ 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

@ -0,0 +1,24 @@
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

@ -34,13 +34,21 @@ 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 }}' > service_account.json run: echo "${{ secrets.SERVICE_ACCOUNT_JSON }}" | base64 -d > 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

View file

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