Skip to content

Commit

Permalink
added debug for release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matubu committed Jul 30, 2023
1 parent 888e893 commit e35a6ae
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ jobs:

- name: Create new npm version
run: |
git branch
git checkout main
git branch
npm version --no-git-tag-version ${{ github.event.release.tag_name }}
git branch
git add package.json
git -c user.name='npm-pkg-bot' -c user.email='speed-highlight@protonmail.com' commit -m "[npm-pkg-bot] updated package.json to version ${{ github.event.release.tag_name }}"
Expand Down Expand Up @@ -58,11 +62,6 @@ jobs:
git log
git status
git config --get remote.origin.url
git checkout -b newRelease
git checkout main
git merge newRelease
git push origin main
git branch -d newRelease
git push
env:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e35a6ae

Please sign in to comment.