mirror of
https://github.com/jwinterm/grim.git
synced 2026-10-17 14:21:24 +02:00
build: android version naming
This commit is contained in:
+2
-2
@@ -82,9 +82,9 @@ function build_apk() {
|
||||
done
|
||||
else
|
||||
# Get version
|
||||
version=$2
|
||||
version=v$2
|
||||
if [[ -z "$version" ]]; then
|
||||
version=$(grep -m 1 -Po 'version = "\K[^"]*' ../Cargo.toml)
|
||||
version=v$(grep -m 1 -Po 'version = "\K[^"]*' ../Cargo.toml)
|
||||
fi
|
||||
# Setup release file name
|
||||
name=grim-${version}-android-$1.apk
|
||||
|
||||
Reference in New Issue
Block a user