Skip to content

Commit 69dd943

Browse files
committed
docs: update README.md
1 parent 742d533 commit 69dd943

File tree

1 file changed

+60
-5
lines changed

1 file changed

+60
-5
lines changed

README.md

+60-5
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,61 @@ jobs:
120120
#### 템플릿 1
121121

122122
* 커밋 메시지에 따라 버전 관리
123+
* 태그 배포
124+
125+
> **의존성**
126+
> ```shell
127+
> $ npm install -D semantic-release @semantic-release/git
128+
> ```
129+
130+
```json
131+
{
132+
"plugins": [
133+
"@semantic-release/commit-analyzer",
134+
"@semantic-release/release-notes-generator"
135+
]
136+
}
137+
```
138+
139+
#### 템플릿 2
140+
141+
* 커밋 메시지에 따라 버전 관리
142+
* 태그 배포
123143
* package.json 버전 동기화
124-
* release 상시 배포
144+
145+
> **의존성**
146+
> ```shell
147+
> $ npm install -D semantic-release @semantic-release/git
148+
> ```
149+
150+
```json
151+
{
152+
"plugins": [
153+
"@semantic-release/commit-analyzer",
154+
"@semantic-release/release-notes-generator",
155+
[
156+
"@semantic-release/npm",
157+
{
158+
"npmPublish": false
159+
}
160+
],
161+
[
162+
"@semantic-release/git",
163+
{
164+
"assets": ["package.json"],
165+
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
166+
}
167+
]
168+
]
169+
}
170+
```
171+
172+
#### 템플릿 3
173+
174+
* 커밋 메시지에 따라 버전 관리
175+
* 태그 배포
176+
* package.json 버전 동기화
177+
* release 배포
125178

126179
> **의존성**
127180
> ```shell
@@ -151,11 +204,12 @@ jobs:
151204
}
152205
```
153206

154-
#### 템플릿 2
207+
#### 템플릿 4
155208

156209
* 커밋 메시지에 따라 버전 관리
210+
* 태그 배포
157211
* package.json 버전 동기화
158-
* release 상시 배포
212+
* release 배포
159213
* CHANGELOG.md 파일 작성
160214

161215
> **의존성**
@@ -193,11 +247,12 @@ jobs:
193247
}
194248
```
195249

196-
#### 템플릿 3
250+
#### 템플릿 5
197251

198252
* 커밋 메시지에 따라 버전 관리
253+
* 태그 배포
199254
* package.json 버전 동기화
200-
* release 상시 배포
255+
* release 배포
201256
* CHANGELOG.md 파일 작성 & 템플릿 수정
202257

203258
> **Note**

0 commit comments

Comments
 (0)