Skip to content

Commit e156cc9

Browse files
authored
Merge pull request #65 from bitholla/develop
Develop
2 parents eb1fd0b + ade7118 commit e156cc9

14 files changed

+1352
-2949
lines changed

.drone.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
kind: pipeline
2+
type: docker
3+
name: slack_notify
4+
5+
steps:
6+
- name: partymaker_version_tag_testnet
7+
image: alpine
8+
commands:
9+
- export PACKAGE_VERSION="$(grep version package.json | cut -c 14- | rev | cut -c 3- | rev)" && echo "$PACKAGE_VERSION" > .tags
10+
- echo "Current version tag is :" && cat .tags
11+
when:
12+
branch: master
13+
14+
- name: partymaker_version_tag
15+
image: alpine
16+
commands:
17+
- export PACKAGE_VERSION="$(grep version package.json | cut -c 14- | rev | cut -c 3- | rev)" && echo "$PACKAGE_VERSION-testnet" > .tags
18+
- echo "Current version tag is :" && cat .tags
19+
when:
20+
branch: testnet
21+
22+
- name: create_github_release
23+
image: bitholla/devops-tools:drone_github_hub-2004241546
24+
environment:
25+
GITHUB_TOKEN:
26+
from_secret: github_oauth2_token_for_releases
27+
commands:
28+
- apt-get update && apt-get install -y hub git
29+
- hub release create -m "HollaEx Kit v$(cat .tags) Release" -t ${DRONE_BRANCH} $(cat .tags)
30+
when:
31+
branch: master
32+
33+
- name: slack_noti_to_releases
34+
image: bitholla/devops-tools:drone_partymaker-0.1.4
35+
environment:
36+
WEBHOOK_URL:
37+
from_secret: webhook_url
38+
when:
39+
status: [success]
40+
41+
- name: notify_to_discord_releases
42+
image: bitholla/devops-tools:drone_partymaker-0.1.5
43+
channel: deployment
44+
settings:
45+
target: discord
46+
release_name: hollaex-node-lib
47+
environment:
48+
WEBHOOK_URL:
49+
from_secret: discord_webhook_url
50+
when:
51+
status: [ success, failure ]
52+
branch: master
53+
54+
trigger:
55+
branch:
56+
- master
57+
- testnet
58+
event:
59+
- push

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
8+
[*.{js,json}]
9+
indent_style = tab
10+
indent_size = 4

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
"linebreak-style": ["error", "unix"],
1313
"quotes": ["error", "single"],
1414
"semi": ["error", "always"],
15+
"indent": ["error", "tab"],
16+
"arrow-parens": ["error", "always"],
17+
"object-curly-spacing": ["error", "always"],
1518
"no-console": 0
1619
}
1720
}

.prettierignore.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierrc.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)