Skip to content

Commit

Permalink
Start 2.0.4 and fix release (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Paranoiaque authored Feb 18, 2024
1 parent 1a9698d commit 7d12649
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 11 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/workflow-release-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,21 @@ jobs:
AAB_JSON: ${{ steps.aab_json.outputs.filePath }}
APK_JSON: ${{ steps.apk_json.outputs.filePath }}
KEYSTORE: ${{ steps.keystore.outputs.filePath }}

- name: Upload aab file to release
uses: actions/upload-artifact@v4
uses: svenstaro/upload-release-action@v2
with:
path: /home/runner/work/Ellas-War/Ellas-War/platforms/android/app/build/outputs/bundle/release/app-release.aab
name: app-release.aab
compression-level: 0
repo_token: ${{ secrets.GH_TOKEN }}
file: /home/runner/work/Ellas-War/Ellas-War/platforms/android/app/build/outputs/bundle/release/app-release.aab
asset_name: app-release.aab
tag: ${{ github.ref }}
- name: Upload apk file to release
uses: actions/upload-artifact@v4
uses: svenstaro/upload-release-action@v2
with:
path: /home/runner/work/Ellas-War/Ellas-War/platforms/android/app/build/outputs/apk/release/app-release.apk
name: app-release.apk
compression-level: 0
repo_token: ${{ secrets.GH_TOKEN }}
file: /home/runner/work/Ellas-War/Ellas-War/platforms/android/app/build/outputs/apk/release/app-release.apk
asset_name: app-release.apk
tag: ${{ github.ref }}
- name: Upload to the Amazon AppStore
continue-on-error: true
uses: ALJAZEERAPLUS/[email protected]
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/workflow-release-linux-armhf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,12 @@ jobs:
GH_TOKEN: '${{ secrets.GH_TOKEN }}'
SNAPCRAFT_STORE_CREDENTIALS: '${{ secrets.SNAPCRAFT_TOKEN }}'

- name: Publish Snap
run: |
FILE=$(ls platforms/electron/build/*.snap)
for i in $FILE
do
snapcraft upload --release=stable $i
done
env:
SNAPCRAFT_STORE_CREDENTIALS: '${{ secrets.SNAPCRAFT_TOKEN }}'
10 changes: 10 additions & 0 deletions .github/workflows/workflow-release-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,13 @@ jobs:
env:
WORKSPACE: '${{ github.workspace }}'
SNAPCRAFT_STORE_CREDENTIALS: '${{ secrets.SNAPCRAFT_TOKEN }}'

- name: Publish Snap
run: |
FILE=$(ls platforms/electron/build/*.snap)
for i in $FILE
do
snapcraft upload --release=stable $i
done
env:
SNAPCRAFT_STORE_CREDENTIALS: '${{ secrets.SNAPCRAFT_TOKEN }}'
36 changes: 36 additions & 0 deletions .github/workflows/workflow-release-zip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Zip

on:
workflow_call:

jobs:
zip:
name: "Publish Zip"
runs-on: ubuntu-22.04

steps:
- name: Download the mobile project
uses: actions/download-artifact@v4
with:
name: "mobile.zip"
- name: Download the web project
uses: actions/download-artifact@v4
with:
name: "web.zip"

# Upload
- name: Upload web zip file to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GH_TOKEN }}
file: ./web.zip
asset_name: web.zip
tag: ${{ github.ref }}

- name: Upload mobile zip file to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GH_TOKEN }}
file: ./mobile.zip
asset_name: mobile.zip
tag: ${{ github.ref }}
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget android-packageName="com.ellaswar.ewnextmobile" id="ellaswar" version="2.0.3" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget android-packageName="com.ellaswar.ewnextmobile" id="ellaswar" version="2.0.4" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>EllasWar</name>
<description>
Desktop/Mobile application for the online game ellaswar.com.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@v-paranoiaque/ew",
"description": "Front-end of the Ellas War Game",
"version": "2.0.3",
"version": "2.0.4",
"homepage": "https://ellaswar.eu",
"author": {
"name": "Ellas War Team",
Expand Down

0 comments on commit 7d12649

Please sign in to comment.