Skip to content

Commit

Permalink
Update publish pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Mar 5, 2023
1 parent 9afbdb2 commit 0eadccb
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/vsce-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
with:
node-version: '16.14.x'
- run: npm install
- run: npm install -g @vscode/vsce github-release-notes
# - run: npm install -g @vscode/vsce github-release-notes
- name: Read package.json verison
uses: tyankatsu0105/read-package-version-actions@v1
id: package-version
- name: Generate and Commit Changelog
env:
GREN_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git fetch origin main
git checkout main
gren changelog --override
git -c user.name="ole1986" -c user.email="[email protected]" commit --no-verify -m "Updated CHANGELOG.md - Github Actions" -- CHANGELOG.md
git push
# - name: Generate and Commit Changelog
# env:
# GREN_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# git fetch origin main
# git checkout main
# gren changelog --override
# git -c user.name="Don Jayamanne" -c user.email="[email protected]" commit --no-verify -m "Updated CHANGELOG.md - Github Actions" -- CHANGELOG.md
# git push
- name: vsce publish
run: vsce publish -p "${{ secrets.VSCE_TOKEN }}"
- name: vsce package
Expand Down

0 comments on commit 0eadccb

Please sign in to comment.