Create release.yml

This commit is contained in:
Quinta
2024-06-23 15:22:20 +02:00
committed by GitHub
parent 92b8793bf0
commit 8cc9a86711
+25
View File
@@ -0,0 +1,25 @@
name: Release Obsidian theme
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag="${GITHUB_REF#refs/tags/}"
gh release create "$tag" \
--title="$tag" \
--generate-notes \
--draft \
manifest.json theme.css