[build] android keystore

This commit is contained in:
2019-10-08 17:52:16 +03:00
parent d670722674
commit 7de1897b32
7 changed files with 14 additions and 19 deletions

View File

@@ -2,3 +2,4 @@ all:
hosts: shmyga.ru
vars:
service_host: 172.31.1.100
config_src: "/home/holop/tankz/config.json"

View File

@@ -0,0 +1,2 @@
config_src: "{{ deploy_release_dir }}/config.{{ inventory_hostname }}.json"
config_dest: "{{ deploy_release_dir }}/config.json"

View File

@@ -1,11 +1,11 @@
---
- name: "Copy config"
copy:
src: "{{ deploy_release_dir }}/config.{{ inventory_hostname }}.json"
dest: "{{ deploy_release_dir }}/config.json"
src: "{{ config_src }}"
dest: "{{ config_dest }}"
remote_src: true
- name: "Gulp build"
command: "/usr/local/lib/npm/bin/gulp default --host shmyga.ru"
command: "{{ deploy_release_dir }}/node_modules/.bin/gulp default --host shmyga.ru"
args:
chdir: "{{ deploy_release_dir }}"

View File

@@ -2,9 +2,9 @@
"SdkDir": "C:\\sdk",
"PublishDir": "",
"PublishUrl": "https://shmyga.ru/repo/tankz",
"SSH": {
"PrivateKey": null,
"Passphrase": null
},
"Develop": false
"Develop": false,
"Key": {
"store": "keystore.jks",
"pass": null
}
}

View File

@@ -1,9 +0,0 @@
{
"SdkDir": "/home/holop/sdk",
"PublishDir": "/opt/repo/tankz",
"PublishUrl": "https://shmyga.ru/repo/tankz",
"SSH": {
"PrivateKey": null,
"Passphrase": null
}
}

View File

@@ -36,6 +36,7 @@ const config = new Project.Config({
company: 'MegaLoMania',
version: packageInfo.version + (Config.Develop ? '-SNAPSHOT' : ''),
},
key: Config.Key,
libs: packageInfo.haxeDependencies,
sources: [
'src/common/haxe',

View File

@@ -1,13 +1,13 @@
{
"name": "tankz",
"version": "0.17.4",
"version": "0.17.5",
"private": true,
"devDependencies": {
"dateformat": "^3.0.3",
"gulp": "^4.0.0",
"gulp-add": "0.0.2",
"gulp-clean": "^0.4.0",
"gulp-haxetool": "0.1.0",
"gulp-haxetool": "0.1.1",
"yargs": "^13.2.4"
},
"haxeDependencies": {