forked from Semantic-Org/Semantic-UI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease.js
More file actions
29 lines (22 loc) · 734 Bytes
/
release.js
File metadata and controls
29 lines (22 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*******************************
Release
*******************************/
/*
This task update all SUI individual component repos with new versions of components
* Initializes repositories with current versions
* Creates local files at ../distributions/ with each repo for release
* Commits changes from create components
* Registers new versions with NPM Publish
*/
var
runSequence = require('run-sequence')
;
/* Release All */
module.exports = function() {
runSequence(
'build', // build Semantic
'init distributions', // sync with current github version
'create distributions', // update each repo with changes from master repo
'update distributions' // commit changes to github
);
};