File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,6 +125,19 @@ push_to_github() {
125125 fi
126126}
127127
128+ tag_release_on_github () {
129+ if yarn run github-release; then
130+ echo " ----------------------------------------------------------------------"
131+ echo " Pushing new GitHub release succuessfully"
132+ echo " ----------------------------------------------------------------------"
133+ else
134+ echo " ----------------------------------------------------------------------"
135+ echo " Error pushing new GitHub release"
136+ echo " ----------------------------------------------------------------------"
137+ exit 1
138+ fi
139+ }
140+
128141move_reports () {
129142 echo " --------------------------------------------------------------------------"
130143 echo " Moving test reports to ./reports/cobertura.xml and ./reports/junit.xml"
@@ -211,10 +224,12 @@ push_new_release() {
211224 fi
212225
213226 # Push GitHub release
214- echo " ----------------------------------------------------------------------"
215- echo " Pushing new GitHub release"
216- echo " ----------------------------------------------------------------------"
217- ./node_modules/.bin/conventional-github-releaser
227+ if ! tag_release_on_github; then
228+ echo " ----------------------------------------------------"
229+ echo " Error in tag_release_on_github!"
230+ echo " ----------------------------------------------------"
231+ exit 1
232+ fi
218233}
219234
220235# Check if we are doing major, minor, or patch release
Original file line number Diff line number Diff line change 4343 "npm" : " webpack -p --progress --colors --config build/webpack.npm.config.js" ,
4444 "clean" : " rm -rf dist && rm -rf lib && rm -rf reports/coverage && rm -rf src/i18n/json" ,
4545 "changelog" : " ./node_modules/.bin/conventional-changelog -i CHANGELOG.md -s -r 0" ,
46+ "github-release" : " ./node_modules/.bin/conventional-github-releaser" ,
4647 "prettier" : " prettier-eslint --print-width 120 --tab-width 4 --single-quote --semi --write --bracket-spacing true \" src/**/*.js\" " ,
4748 "commitmsg" : " conventional-changelog-lint -e" ,
4849 "prepush" : " yarn run lint && yarn run flow && yarn run test" ,
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ export const DELIMITER_SLASH: 'slash' = 'slash';
9999export const DELIMITER_CARET : 'caret' = 'caret' ;
100100
101101/* ---------------------- Defaults -------------------------- */
102- export const DEFAULT_PREVIEW_VERSION = '1.11 .0' ;
102+ export const DEFAULT_PREVIEW_VERSION = '1.12 .0' ;
103103export const DEFAULT_PREVIEW_LOCALE = 'en-US' ;
104104export const DEFAULT_PATH_STATIC = 'platform/elements' ;
105105export const DEFAULT_PATH_STATIC_PREVIEW = 'platform/preview' ;
Original file line number Diff line number Diff line change 2222 window . onload = function ( ) {
2323 const { ContentExplorer } = Box ;
2424 const explorer = new ContentExplorer ( ) ;
25- explorer . show ( '0' , '7F3tLTWAqInxn3ZEeAYSeM2KzFqraCHy ' , {
25+ explorer . show ( '0' , 'dcs5EcLt7cxE7IH7dpZ8af6zfwL1JKDE ' , {
2626 hasPreviewSidebar : true
2727 } ) ;
2828 }
You can’t perform that action at this time.
0 commit comments