Create release.yml

This commit is contained in:
Quinta
2024-06-23 15:20:57 +02:00
committed by GitHub
parent 356c66d5d3
commit b007f0ad86
+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