Removed "Obsidian" from the plugin description and implemented Github Actions workflow.

This commit is contained in:
Signynt 2026-05-19 15:44:46 +02:00
parent 0585e2ade4
commit 42d6afb55e
3 changed files with 58 additions and 4 deletions

54
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,54 @@
name: Release Virtual Content
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write # Required for generating the OIDC token
attestations: write # Required for writing the attestation
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build plugin
run: npm run build --if-present
# --- New Attestation Step ---
- name: Attest Build Provenance
uses: actions/attest-build-provenance@v1
with:
subject-path: |
main.js
manifest.json
styles.css
- name: Create GitHub Release
id: create_release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
draft: false
prerelease: false
files: |
main.js
manifest.json
styles.css
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -1,9 +1,9 @@
{
"id": "virtual-footer",
"name": "Virtual Content",
"version": "1.0.29",
"version": "1.0.30",
"minAppVersion": "0.15.0",
"description": "Display markdown text (including dataview queries or Obsidian bases) at the bottom, top or in the sidebar for all notes which match a specified rule, without modifying them.",
"description": "Display markdown text (including dataview queries or Bases) at the bottom, top or in the sidebar for all notes which match a specified rule, without modifying them.",
"author": "Signynt",
"authorUrl": "https://github.com/Signynt",
"fundingUrl": "",

View file

@ -1,7 +1,7 @@
{
"name": "virtual-footer",
"version": "1.0.0",
"description": "Display markdown text (including dataview queries) at the bottom of all notes in a folder, without modifying them.",
"version": "1.0.30",
"description": "Display markdown text (including dataview queries or Bases) at the bottom, top or in the sidebar for all notes which match a specified rule, without modifying them.",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",