diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d49f2e7..d8511c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,7 @@ jobs: - name: 📦 compile and create vsix run: npm run package - - name: 🎉 publish to marketplace + - name: 🚀 publish to marketplace if: ${{ github.event.inputs.publishtovsm == true }} uses: HaaLeo/publish-vscode-extension@v0 with: @@ -65,7 +65,7 @@ jobs: extensionFile: ./git-config-user-profiles-*.vsix packagePath: "" - - name: Create Release + - name: create release id: create_release uses: actions/create-release@v1 env: @@ -78,7 +78,7 @@ jobs: draft: false prerelease: ${{ github.event.inputs.publishtovsm == false }} # pre-release when publishing to VS Marketplace is false - - name: Upload Release Asset + - name: 📦 upload vsix as release asset id: upload-release-asset uses: actions/upload-release-asset@v1 env: @@ -88,3 +88,11 @@ jobs: asset_path: ${{github.workspace}}/git-config-user-profiles-${{ env.VERSION }}.vsix asset_name: git-config-user-profiles-${{ env.VERSION }}.vsix asset_content_type: application/vsix + + - name: commit package.json + uses: EndBug/add-and-commit@v7 + with: + author_name: "Utkarsh Shigihalli" + author_email: onlyutkarsh@users.noreply.github.com + message: "bump to ${{ env.VERSION }}" + add: "package.json"