Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ğecko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
Ğecko
Commits
92399016
Commit
92399016
authored
2 years ago
by
poka
Browse files
Options
Downloads
Patches
Plain Diff
build: fix publish
parent
3abf2666
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#16874
failed
2 years ago
Stage: format
Stage: build_and_test
Stage: package
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/build-apk.sh
+4
-3
4 additions, 3 deletions
scripts/build-apk.sh
with
4 additions
and
3 deletions
scripts/build-apk.sh
+
4
−
3
View file @
92399016
...
...
@@ -11,11 +11,12 @@ BUILD=$(awk -F '+' '{ print $2 }' <<<$fVersion)
ori_app
=
"app.apk"
echo
"Nom du build final:
${
APPNAME
}
-
${
VERSION
}
+
${
BUILD
}
.apk"
[[
$withPush
==
"withPush"
]]
&&
echo
"Publish after build"
## To build Rust dependancies
# cargo br
flutter clean
#
flutter clean
if
[[
$1
==
"bundle"
]]
;
then
flutter build appbundle
--release
--target-platform
android-arm,android-arm64
--build-name
$VERSION
--build-number
$BUILD
else
...
...
@@ -35,8 +36,8 @@ else
fi
appPath
=
"
$DL
/
${
APPNAME
}
-
${
VERSION
}
+
${
BUILD
}
.apk"
mv
build/app/outputs/flutter-apk/
$ori_app
"
$appPath
"
&&
echo
"
$appPath
"
||
exit
1
mv
build/app/outputs/flutter-apk/
$ori_app
"
$appPath
"
||
exit
1
[[
$withPush
==
"withPush"
]]
&&
/home/poka/scripts/link/pushGecko
$VERSION
[[
$withPush
==
"withPush"
]]
&&
/home/poka/scripts/link/pushGecko
$VERSION
+
$BUILD
exit
0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment