From b6fccadf6a16cde343f300668c5e5906431ee92c Mon Sep 17 00:00:00 2001 From: phondani0 Date: Sun, 11 Aug 2024 17:04:49 +0530 Subject: [PATCH] fix: github token and sematic-release git auth4 --- .releaserc.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.releaserc.yml b/.releaserc.yml index a431f0a..60aa28d 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -22,6 +22,12 @@ prepare: # - package.json # message: 'chore: bump version to ${nextRelease.version}' + - path: "@semantic-release/exec" + cmd: "git add package.json && git status && git commit -m 'Update package.json version to ${nextRelease.version}'" + + - path: "@semantic-release/exec" + cmd: "cat package.json" + npmPublish: false assets: @@ -30,11 +36,6 @@ assets: success: # - path: "@semantic-release/exec" # cmd: "vsce publish --pat $VSCE_TOKEN" - - path: "@semantic-release/exec" - cmd: "git add package.json && git status && git commit -m 'Update package.json version to ${nextRelease.version}'" - - - path: "@semantic-release/exec" - cmd: "cat package.json" - path: "@semantic-release/exec" cmd: "git pull && git push && git push --tags" \ No newline at end of file