mirror of
https://github.com/jesse-r-s-hines/obsidian-open-tab-settings.git
synced 2026-07-22 05:43:41 +00:00
Tweaks to release workflow
This commit is contained in:
parent
f2c6bfc6fb
commit
ab4faf1066
1 changed files with 5 additions and 5 deletions
10
.github/workflows/release.yaml
vendored
10
.github/workflows/release.yaml
vendored
|
|
@ -3,7 +3,7 @@ name: Release Obsidian plugin
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
- "*.*.*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -19,16 +19,16 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: |
|
||||
npm install
|
||||
npm ci
|
||||
npm run build
|
||||
|
||||
- name: Release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
tag="${GITHUB_REF#refs/tags/}"
|
||||
|
||||
gh release create "$tag" \
|
||||
--title="$tag" \
|
||||
--draft \
|
||||
main.js manifest.json styles.css
|
||||
main.js manifest.json styles.css
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue