Added version tag to apk

This commit is contained in:
WardPearce
2024-05-06 20:00:27 +12:00
parent fbb9be63f7
commit 22bba74e65
2 changed files with 9 additions and 3 deletions
+7 -1
View File
@@ -71,12 +71,18 @@ jobs:
include-compare: false
semver: false
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@v1.3.1
with:
path: ./materialious
- name: Upload APKs to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
body: ${{ steps.changelog.outputs.changelog }}
file: ./materialious/android/app/release/*
tag: ${{ github.ref }}
tag: ${{ steps.package-version.outputs.current-version}}
overwrite: true
file_glob: true
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "materialious",
"version": "0.0.1",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "vite dev",
@@ -56,4 +56,4 @@
"svelte-persisted-store": "^0.9.2",
"vidstack": "^1.11.21"
}
}
}