Skip to content

release: v0.3.1

release: v0.3.1 #30

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
publish:
if: contains(github.event.head_commit.message, 'release')
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Generate
run: bun dev
- name: Publish
run: bunx vsce publish -p ${{ secrets.VSCE_PAT }}
github-release:
if: contains(github.event.head_commit.message, 'release')
name: GitHub Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Get package version
id: package-version
uses: martinbeentjes/npm-get-version-action@v1.3.1
- name: Create release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
makeLatest: true
name: Hibiscus Theme v${{ steps.package-version.outputs.current-version }}
tag: hibiscus-theme-v${{ steps.package-version.outputs.current-version }}