[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 hosts: shmyga.ru
vars: vars:
service_host: 172.31.1.100 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" - name: "Copy config"
copy: copy:
src: "{{ deploy_release_dir }}/config.{{ inventory_hostname }}.json" src: "{{ config_src }}"
dest: "{{ deploy_release_dir }}/config.json" dest: "{{ config_dest }}"
remote_src: true remote_src: true
- name: "Gulp build" - 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: args:
chdir: "{{ deploy_release_dir }}" chdir: "{{ deploy_release_dir }}"

View File

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

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', company: 'MegaLoMania',
version: packageInfo.version + (Config.Develop ? '-SNAPSHOT' : ''), version: packageInfo.version + (Config.Develop ? '-SNAPSHOT' : ''),
}, },
key: Config.Key,
libs: packageInfo.haxeDependencies, libs: packageInfo.haxeDependencies,
sources: [ sources: [
'src/common/haxe', 'src/common/haxe',

View File

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