Skip to content

Commit db3caac

Browse files
yiming-amznYiming Wang
and
Yiming Wang
authored
Generate release files after rtcJsVersion is increased
Co-authored-by: Yiming Wang <yimwang@amazon.com>
1 parent dec4dee commit db3caac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"Anil Kumar Vuta <anilvuta@amazon.com>"
2020
],
2121
"scripts": {
22-
"preversion": "git stash && git checkout master && git pull && npm test && git checkout -B bumpVersion && grunt build && grunt copyForPublish && git add package.json release/* && git commit -m 'Add connect-rtc-js artifacts' --allow-empty",
23-
"version": "",
22+
"preversion": "git stash && git checkout master && git pull && npm test && git checkout -B bumpVersion",
23+
"version": "grunt build && grunt copyForPublish && git add package.json release/* ",
2424
"postversion": "export GITTAG=\"echo $(git describe --abbrev=0 --tags | sed 's/^v//')\" && git push --force --set-upstream origin bumpVersion --follow-tags && git checkout gh-pages && git pull && cp out/connect-rtc-debug.js ./connect-rtc-debug-`$GITTAG`.js && cp out/connect-rtc.min.js ./connect-rtc-`$GITTAG`.min.js && ln -fs connect-rtc-debug-`$GITTAG`.js connect-rtc-debug-latest.js && ln -fs connect-rtc-`$GITTAG`.min.js connect-rtc-latest.min.js && git add connect-rtc*.js && git commit -m `$GITTAG` && git push --set-upstream origin gh-pages && git checkout master",
2525
"prepublish": "grunt build",
2626
"test": "grunt && mocha --compilers js:babel-core/register test/unit"

0 commit comments

Comments
 (0)