@cmflow/cli 2.0.0-alpha.3 → 2.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/README.md
CHANGED
|
@@ -165,6 +165,26 @@ Example:
|
|
|
165
165
|
}
|
|
166
166
|
```
|
|
167
167
|
|
|
168
|
+
### Generate release.info file
|
|
169
|
+
|
|
170
|
+
CmFlow release generate a `release.info` file in the root of your project. This file contains the branch name.
|
|
171
|
+
|
|
172
|
+
```js
|
|
173
|
+
import { defineConfig } from '@cmflow/cli'
|
|
174
|
+
|
|
175
|
+
export default defineConfig({
|
|
176
|
+
prepare: [
|
|
177
|
+
'@cmflow/cli/semantic/prepare/bump-version',
|
|
178
|
+
[
|
|
179
|
+
'@cmflow/cli/semantic/prepare/release-info',
|
|
180
|
+
{
|
|
181
|
+
path: './resources/release.info'
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
]
|
|
185
|
+
})
|
|
186
|
+
```
|
|
187
|
+
|
|
168
188
|
### Deploy on Docker Hub
|
|
169
189
|
|
|
170
190
|
Add the following configuration to your `release.config.js`:
|
package/package.json
CHANGED