diff --git a/es/scripts/release.sh b/es/scripts/release.sh index be891c8..c283628 100755 --- a/es/scripts/release.sh +++ b/es/scripts/release.sh @@ -11,6 +11,15 @@ VERSION=${TAG#v} npm version $VERSION --no-git-tag-version --workspaces npm publish --workspaces --access=public +# print current branch for debugging +git rev-parse --abbrev-ref HEAD +# print diff for debugging +git diff + git add . git commit -m "Release $VERSION" -git push origin main + +# print repository name for debugging +echo $GITHUB_REPOSITORY + +git push https://x-access-token:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git