We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4010b5 commit 17b5206Copy full SHA for 17b5206
.github/workflows/release.yml
@@ -0,0 +1,33 @@
1
+name: Release Obsidian plugin
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "*"
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
+ steps:
14
+ - uses: actions/checkout@v3
15
16
+ - name: Use Node.js
17
+ uses: actions/setup-node@v3
18
+ with:
19
+ node-version: "18.x"
20
21
+ - name: Build plugin
22
+ run: |
23
+ npm install
24
+ npm run build
25
26
+ - name: Create release
27
+ env:
28
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
30
+ gh release create "${{ github.ref_name }}" \
31
+ --title="${{ github.ref_name }}" \
32
+ --draft \
33
+ main.js manifest.json styles.css
0 commit comments