diff --git a/CHANGELOG.md b/CHANGELOG.md index 712c2ac..1d5a1fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [0.10.2] + - Fix version pushing of auto bumping + ## [0.10.1] - Do not cd to working directory diff --git a/VERSION b/VERSION index 71172b4..42624f3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.10.1 \ No newline at end of file +0.10.2 \ No newline at end of file diff --git a/actions/npm/bump-pr-version/action.yml b/actions/npm/bump-pr-version/action.yml index c2f2fd5..ca91c9e 100644 --- a/actions/npm/bump-pr-version/action.yml +++ b/actions/npm/bump-pr-version/action.yml @@ -19,6 +19,7 @@ runs: uses: actions/checkout@v4 with: fetch-depth: 0 + ref: ${{ github.head_ref }} - name: Setup Node.js uses: actions/setup-node@v3 @@ -72,5 +73,5 @@ runs: git add package.json package-lock.json || true git commit -m "chore(release): bump $BUMP version to $NEW_VERSION [skip ci]" || echo "No version changes detected" - git push + git push origin HEAD:${{ github.head_ref }} working-directory: ${{ inputs.working-directory }} \ No newline at end of file