Generate versionCode from timestamp.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-12-10 17:44:42 +01:00
parent c2882a9751
commit ba337a3e0e
3 changed files with 14 additions and 1 deletions

View File

@@ -18,6 +18,13 @@ steps:
- echo "keyAlias=key0" >> keystore.properties
- echo "storeFile=../AndroidKey" >> keystore.properties
- name: generate versionCode
image: busybox
commands:
- touch version.properties
- let timestamp=$(date +%s)/10
- echo "versionCode=$timestamp" >> version.properties
- name: build
image: mingc/android-build-box
commands: