Skip to content

Commit

Permalink
fix: automated release by PR
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoortheen committed Jan 24, 2025
1 parent 3a2e0c8 commit d9d9070
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 27 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/publish.yml

This file was deleted.

13 changes: 12 additions & 1 deletion .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,16 @@ jobs:
- name: tag current package version and push
if: steps.check_commit.outputs.is_release == 'true'
run: |
git tag v${{ steps.check_commit.outputs.version }}
git tag -a v${{ steps.check_commit.outputs.version }} -m "v${{ steps.check_commit.outputs.version }}"
git push --tags
bun install --frozen-lockfile
bun run package
bun run ovsx publish *.vsix --pat ${{ secrets.OPEN_VSX_TOKEN }}
bun run vsce publish -p ${{ secrets.VS_MARKETPLACE_TOKEN }}
- name: Release
if: steps.check_commit.outputs.is_release == 'true'
uses: softprops/action-gh-release@v2
with:
files: nix-ide*.vsix
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d9d9070

Please sign in to comment.