Skip to content

Commit

Permalink
commit package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyutkarsh committed Aug 29, 2021
1 parent 16708ba commit f4253a8
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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"

0 comments on commit f4253a8

Please sign in to comment.