diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 80de26e..697517b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,7 +44,9 @@ jobs: run: "npm version ${{ github.event.inputs.release_type }} -m 'chore: release v%s'" - name: Push changes and tags - run: git push --follow-tags + run: | + git pull --rebase origin main + git push --follow-tags - name: Publish to npm run: npm publish --access public diff --git a/package.json b/package.json index d66add4..ecc59c0 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@utkarsh232005/kdm-cli", + "name": "kdm-cli", "version": "1.1.2", "description": "Kubernetes and Docker Monitoring CLI", "type": "module",