Skip to content

Ready release 1.1.5 #35

Ready release 1.1.5

Ready release 1.1.5 #35

Workflow file for this run

name: Release Obsidian plugin
on:
push:
tags:
- "*"
jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "18.x"
- name: Build plugin
run: |
npm install
npm run build
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }} # tag="${GITHUB_REF#refs/tags/}"
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
message=$(git tag -l --format='%(contents)' $tag)
gh release create "$tag" \
--title="$tag" \
--notes="${message}" \
--verify-tag \
main.js manifest.json styles.css