File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: Create Release
2
2
3
3
on :
4
4
push :
5
- tags :
6
- - ' v*.*.* '
5
+ branches :
6
+ - master
7
7
8
8
jobs :
9
9
release :
@@ -24,18 +24,18 @@ jobs:
24
24
- name : Build the plugin
25
25
run : npm run build
26
26
27
+ - name : Extract version from manifest.json
28
+ id : get_version
29
+ run : |
30
+ version=$(jq -r '.version' manifest.json)
31
+ echo "Version found: $version"
32
+ echo "##[set-output name=version;]$version"
33
+
27
34
- name : Create GitHub Release
28
35
id : create_release
29
36
uses : actions/create-release@v1
30
37
env :
31
38
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
- with :
33
- tag_name : ${{ github.ref }}
34
- release_name : Release ${{ github.ref }}
35
- body : |
36
- Description of the release.
37
- draft : false
38
- prerelease : false
39
39
40
40
- name : Upload Release Assets
41
41
uses : actions/upload-release-asset@v1
Original file line number Diff line number Diff line change 1
1
{
2
2
"id" : " share-note-img-with-gist" ,
3
3
"name" : " Quick Share Note to Gist" ,
4
- "version" : " 1.0.0 " ,
4
+ "version" : " 1.0.4 " ,
5
5
"minAppVersion" : " 0.15.0" ,
6
6
"description" : " Demonstrates some of the capabilities of the Obsidian API." ,
7
7
"author" : " Obsidian" ,
You can’t perform that action at this time.
0 commit comments