Skip to content

v1.3.0 Release: Merged PRs from Jules + Bug Fixes (#65) #26

v1.3.0 Release: Merged PRs from Jules + Bug Fixes (#65)

v1.3.0 Release: Merged PRs from Jules + Bug Fixes (#65) #26

Workflow file for this run

# GitHub Actions workflow to automatically create a release with .vsix asset
# Triggered when a version tag (v*) is pushed
name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build and package extension
run: npm run package
- name: Extract version from tag
id: version
run: echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
- name: Create GitHub Release
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
with:
name: v${{ steps.version.outputs.version }}
body: |
## SQLite Explorer v${{ steps.version.outputs.version }}
See [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for details.
### Installation
Download the `.vsix` file and install it in VS Code:
- Open VS Code
- Press `Ctrl+Shift+P` (or `Cmd+Shift+P` on Mac)
- Type "Install from VSIX"
- Select the downloaded file
files: sqlite-explorer-${{ steps.version.outputs.version }}.vsix
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}