@@ -2019,14 +2019,6 @@ module.exports = require("path");
20192019
20202020/***/ } ) ,
20212021
2022- /***/ 477 :
2023- /***/ ( ( module ) => {
2024-
2025- "use strict" ;
2026- module . exports = require ( "querystring" ) ;
2027-
2028- /***/ } ) ,
2029-
20302022/***/ 404 :
20312023/***/ ( ( module ) => {
20322024
@@ -2085,47 +2077,32 @@ var __webpack_exports__ = {};
20852077// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
20862078( ( ) => {
20872079const core = __nccwpck_require__ ( 186 ) ;
2088- const { stringify } = __nccwpck_require__ ( 477 ) ;
2089- const npm_auth_token = core . getInput ( 'npm_auth_token' , { required : true } ) ;
2090- const gh_token = core . getInput ( 'gh_token' , { required : true } ) ;
2080+ const npm_auth_token = core . getInput ( "npm_auth_token" , { required : true } ) ;
2081+ const gh_token = core . getInput ( "gh_token" , { required : true } ) ;
20912082
20922083const main = async ( ) => {
2093-
20942084 const execSync = ( __nccwpck_require__ ( 81 ) . execSync ) ;
2095-
2096- try {
20972085
2098- const gitoutput = execSync ( 'git log -1' )
2099- if ( gitoutput . includes ( 'skip ci' ) )
2100- {
2101- console . log ( ' skipping due to [skip ci] message' )
2086+ try {
2087+ const gitoutput = execSync ( "git log -1" ) ;
2088+ if ( gitoutput . includes ( "skip ci" ) ) {
2089+ console . log ( " skipping due to [skip ci] message" ) ;
21022090 return ;
21032091 }
2104- execSync ( `echo "//registry.npmjs.org/:_authToken=${ npm_auth_token } " > .npmrc` ,
2105- { stdio : 'inherit' } )
2106- execSync ( 'yarn global add auto' ,
2107- { stdio : 'inherit' } )
2108- execSync ( 'yarn install --frozen-lockfile' ,
2109- { stdio : 'inherit' } )
2110- execSync ( 'yarn build' ,
2111- { stdio : 'inherit' } )
2112- execSync ( 'git config user.email "[email protected] "' , 2113- { stdio : 'inherit' } )
2114- execSync ( 'git config user.email "[email protected] "' , 2115- { stdio : 'inherit' } )
2116- execSync ( 'git config user.name "j1-internal-automation"' ,
2117- { stdio : 'inherit' } )
2118- execSync ( 'git config --global commit.verbose true' ,
2119- { stdio : 'inherit' } )
2120- execSync ( 'git fetch --tags' ,
2121- { stdio : 'inherit' } )
2122- execSync ( `NPM_TOKEN=${ npm_auth_token } GH_TOKEN=${ gh_token } auto shipit --email [email protected] --name j1-internal-automation` , 2123- { stdio : 'inherit' } )
2124- }
2125- catch ( error ) {
2092+ execSync ( `echo "//registry.npmjs.org/:_authToken=${ npm_auth_token } " > .npmrc` , { stdio : "inherit" } ) ;
2093+ execSync ( "yarn global add [email protected] " , { stdio :
"inherit" } ) ; 2094+ execSync ( "yarn install --frozen-lockfile" , { stdio : "inherit" } ) ;
2095+ execSync ( "yarn build" , { stdio : "inherit" } ) ;
2096+ execSync ( 'git config user.email "[email protected] "' , { stdio :
"inherit" } ) ; 2097+ execSync ( 'git config user.email "[email protected] "' , { stdio :
"inherit" } ) ; 2098+ execSync ( 'git config user.name "j1-internal-automation"' , { stdio : "inherit" } ) ;
2099+ execSync ( "git config --global commit.verbose true" , { stdio : "inherit" } ) ;
2100+ execSync ( "git fetch --tags" , { stdio : "inherit" } ) ;
2101+ execSync ( `NPM_TOKEN=${ npm_auth_token } GH_TOKEN=${ gh_token } auto shipit --email [email protected] --name j1-internal-automation` , { stdio :
"inherit" } ) ; 2102+ } catch ( error ) {
21262103 core . setFailed ( error . message ) ;
21272104 }
2128- }
2105+ } ;
21292106
21302107main ( ) ;
21312108
0 commit comments