-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (40 loc) · 1.12 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Create Release 🚀
on:
workflow_dispatch:
pull_request:
types:
- closed
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.sha }}
fetch-depth: '0'
- name: Bump version and push tag
id: create_tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: false
PRERELEASE: false
DEFAULT_BUMP: patch
- name: Create ZIP Archive
run: |
zip logseq-nord-theme.zip custom.css icon.svg package.json
- name: GH Release
uses: softprops/[email protected]
with:
name: Release ${{ steps.create_tag.outputs.new_tag }}
tag_name: ${{ steps.create_tag.outputs.new_tag }}
draft: false
prerelease: false
files: logseq-nord-theme.zip
repository: Bad3r/Logseq-Nord-Theme
token: ${{ secrets.GITHUB_TOKEN }}
generate_release_notes: true