Skip to content

Commit 4ca6197

Browse files
committed
Add release settings to module.json for automated publishing and changelog to GitHub
1 parent 59f6541 commit 4ca6197

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Build and Publish
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- develop
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
uses: mikopbx/.github-workflows/.github/workflows/extension-publish.yml@master
13+
with:
14+
initial_version: "1.218"
15+
secrets: inherit

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

module.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,10 @@
99
"wiki_links": {
1010
"ru": {"https://wiki.mikopbx.com/module-bitrix24-integration": "https://docs.mikopbx.com/mikopbx/modules/miko/module-bitrix24-integration"},
1111
"en": {"https://wiki.mikopbx.com/module-bitrix24-integration": "https://docs.mikopbx.com/mikopbx/v/english/modules/miko/module-bitrix24-integration"}
12+
},
13+
"release_settings": {
14+
"publish_release": true,
15+
"changelog_enabled": true,
16+
"create_github_release": true
1217
}
1318
}

0 commit comments

Comments
 (0)