-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (42 loc) · 1.17 KB
/
publish.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: true
PRERELEASE: false
DEFAULT_BUMP: patch
- name: Create ZIP Archive
run: |
bash make_releash.sh && zip -r logseq-flow-nord.zip package.json icon.png *.css
- 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-flow-nord.zip
package.json
repository: henices/logseq-flow-nord
token: ${{ secrets.GITHUB_TOKEN }}
generate_release_notes: true