Compare commits
No commits in common. "main" and "v0.3.0" have entirely different histories.
4 changed files with 5 additions and 61 deletions
|
@ -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)
|
||||
|
|
@ -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,17 +86,9 @@ 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
|
||||
|
@ -105,7 +97,7 @@ jobs:
|
|||
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 commit -m "Update"
|
||||
git branch -M main
|
||||
git push origin main --force
|
||||
|
||||
|
@ -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 }}
|
|
@ -34,21 +34,13 @@ 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
|
||||
|
||||
run: echo '${{ secrets.SERVICE_ACCOUNT_JSON }}' > service_account.json
|
||||
|
||||
- name: Deploy to Google Play
|
||||
uses: https://github.com/r0adkll/upload-google-play@v1
|
|
@ -1,3 +1,3 @@
|
|||
APPLICATION_ID=org.askartv.tv
|
||||
VERSION_NAME=v0.3.1
|
||||
VERSION_CODE=17
|
||||
VERSION_NAME=v0.3.0
|
||||
VERSION_CODE=16
|
||||
|
|
Loading…
Reference in a new issue