Compare commits
19 commits
Author | SHA1 | Date | |
---|---|---|---|
|
a3db1460fc | ||
|
1cc24dd00a | ||
|
23a5a48048 | ||
|
06d48447d2 | ||
|
26232f1e56 | ||
|
b297596d5f | ||
|
be92efda14 | ||
|
4e3513491c | ||
|
1c2b26af8c | ||
|
0e16dbc314 | ||
|
e39ba987c4 | ||
|
3b1a287864 | ||
|
93980aebb5 | ||
|
6e01a44a83 | ||
|
3101fdcbc5 | ||
|
e8a85a9021 | ||
|
781a96d97f | ||
|
610e898a71 | ||
affdb7eed3 |
4 changed files with 61 additions and 5 deletions
|
@ -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 }}
|
24
.forgejo/workflows/playground.yml
Normal file
24
.forgejo/workflows/playground.yml
Normal 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)
|
||||||
|
|
|
@ -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
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue