File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed
Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ async function run() {
1717 core . setOutput ( 'name' , pkgInfo . name ) ;
1818 core . setOutput ( 'registry' , registry ) ;
1919
20- const lastCommitId = await execGit ( `git log -n1 --format="%h"` ) ;
20+ // const lastCommitId = await execGit(`git log -n1 --format="%h"`);
2121
2222 try {
2323 const configFiles = [
@@ -60,15 +60,15 @@ async function run() {
6060 }
6161 console . log ( 'Result:' , result ) ;
6262 } catch ( error ) {
63- console . error ( '> Rollback to last commit' ) ;
64- const currentCommitId = await execGit ( `git log -n1 --format="%h"` ) ;
65- const tagId = await execGit ( `git tag --contains ${ currentCommitId } ` ) ;
63+ // console.error('> Rollback to last commit');
64+ // const currentCommitId = await execGit(`git log -n1 --format="%h"`);
65+ // const tagId = await execGit(`git tag --contains ${currentCommitId}`);
6666
67- await execGit ( `git push --delete origin ${ tagId } ` ) ;
68- await execGit ( `git reset --hard ${ lastCommitId } ` ) ;
69- await execGit ( `git push --force` ) ;
67+ // await execGit(`git push --delete origin ${tagId}`);
68+ // await execGit(`git reset --hard ${lastCommitId}`);
69+ // await execGit(`git push --force`);
7070
71- console . error ( '> Rollback finished' ) ;
71+ // console.error('> Rollback finished');
7272
7373 // console.error(error);
7474 core . setFailed ( error ) ;
Original file line number Diff line number Diff line change @@ -11,10 +11,11 @@ module.exports = {
1111 } ,
1212 ] ,
1313
14- [ '@semantic-release/github' ,
15- {
16- addReleases : 'bottom' ,
17- } ,
18- ] ,
14+ // 403, Resource not accessible by integration, https://github.com/eggjs/egg-mock/actions/runs/5112843660/jobs/9191347769
15+ // [ '@semantic-release/github',
16+ // {
17+ // addReleases: 'bottom',
18+ // },
19+ // ],
1920 ] ,
2021} ;
You can’t perform that action at this time.
0 commit comments