Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
org.benoitharrault.memory
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
android
org.benoitharrault.memory
Commits
1947a91d
Commit
1947a91d
authored
4 years ago
by
Benoît Harrault
Browse files
Options
Downloads
Plain Diff
Merge branch '5-test-get-app-version-on-build' into 'master'
Resolve "Test get app version on build" Closes
#5
See merge request
!5
parents
e8751df4
447d1ce0
No related branches found
No related tags found
1 merge request
!5
Resolve "Test get app version on build"
Pipeline
#875
passed
4 years ago
Stage: update
Stage: build-debug
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+5
-1
5 additions, 1 deletion
.gitlab-ci.yml
android/gradle.properties
+2
-2
2 additions, 2 deletions
android/gradle.properties
with
7 additions
and
3 deletions
.gitlab-ci.yml
+
5
−
1
View file @
1947a91d
...
...
@@ -27,6 +27,8 @@ android:build-debug:
-
echo keyAlias=$ANDROID_DEBUG_KEY_ALIAS >> android/key.properties
-
echo keyPassword=$ANDROID_DEBUG_KEY_PASSWORD >> android/key.properties
# build flutter app
-
flutter packages get
-
flutter clean
-
flutter build apk --debug
# prepare artifact
-
find . -name "*.apk"
# where is my apk?
...
...
@@ -54,7 +56,9 @@ android:build-release:
-
echo keyAlias=$ANDROID_KEY_ALIAS >> android/key.properties
-
echo keyPassword=$ANDROID_KEY_PASSWORD >> android/key.properties
# build flutter app
-
flutter build apk
-
flutter packages get
-
flutter clean
-
flutter build apk --release --build-number=$CI_PIPELINE_IID
# prepare artifact
-
find . -name "*.apk"
# where is my apk?
artifacts
:
...
...
This diff is collapsed.
Click to expand it.
android/gradle.properties
+
2
−
2
View file @
1947a91d
...
...
@@ -2,5 +2,5 @@ org.gradle.jvmargs=-Xmx1536M
android.enableR8
=
true
android.useAndroidX
=
true
android.enableJetifier
=
true
app.versionName
=
1.0.
2
app.versionCode
=
3
app.versionName
=
1.0.
3
app.versionCode
=
4
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