Skip to content

Commit 33f55f6

Browse files
committed
bump version
1 parent b838ba1 commit 33f55f6

File tree

6 files changed

+85
-75
lines changed

6 files changed

+85
-75
lines changed

.github/workflows/release.yml

+66-66
Original file line numberDiff line numberDiff line change
@@ -14,74 +14,74 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v3
18-
- name: Use Node.js
19-
uses: actions/setup-node@v3
20-
with:
21-
node-version: '16.x' # You might need to adjust this value to your own version
22-
- name: Build
23-
id: build
24-
run: |
25-
yarn
26-
yarn run build --if-present
27-
mkdir ${{ env.PLUGIN_NAME }}
28-
cp main.js manifest.json styles.css ${{ env.PLUGIN_NAME }}
29-
zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }}
30-
ls
31-
echo "tag_name=$(git tag --sort version:refname | tail -n 1)" >> $GITHUB_OUTPUT
17+
- uses: actions/checkout@v3
18+
- name: Use Node.js
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: '16.x' # You might need to adjust this value to your own version
22+
- name: Build
23+
id: build
24+
run: |
25+
yarn
26+
yarn run build --if-present
27+
mkdir ${{ env.PLUGIN_NAME }}
28+
cp main.js manifest.json styles.css ${{ env.PLUGIN_NAME }}
29+
zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }}
30+
ls
31+
echo "tag_name=$(git tag --sort version:refname | tail -n 1)" >> $GITHUB_OUTPUT
3232
33-
- name: Create Release
34-
id: create_release
35-
uses: actions/create-release@v1
36-
env:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38-
VERSION: ${{ github.ref }}
39-
with:
40-
tag_name: ${{ github.ref }}
41-
release_name: ${{ github.ref }}
42-
draft: false
43-
prerelease: false
33+
- name: Create Release
34+
id: create_release
35+
uses: actions/create-release@v1
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
VERSION: ${{ github.ref }}
39+
with:
40+
tag_name: ${{ github.ref }}
41+
release_name: ${{ github.ref }}
42+
draft: false
43+
prerelease: false
4444

45-
- name: Upload zip file
46-
id: upload-zip
47-
uses: actions/upload-release-asset@v1
48-
env:
49-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50-
with:
51-
upload_url: ${{ steps.create_release.outputs.upload_url }}
52-
asset_path: ./${{ env.PLUGIN_NAME }}.zip
53-
asset_name: ${{ env.PLUGIN_NAME }}-${{ steps.build.outputs.tag_name }}.zip
54-
asset_content_type: application/zip
45+
- name: Upload zip file
46+
id: upload-zip
47+
uses: actions/upload-release-asset@v1
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
with:
51+
upload_url: ${{ steps.create_release.outputs.upload_url }}
52+
asset_path: ./${{ env.PLUGIN_NAME }}.zip
53+
asset_name: ${{ env.PLUGIN_NAME }}-${{ steps.build.outputs.tag_name }}.zip
54+
asset_content_type: application/zip
5555

56-
- name: Upload main.js
57-
id: upload-main
58-
uses: actions/upload-release-asset@v1
59-
env:
60-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61-
with:
62-
upload_url: ${{ steps.create_release.outputs.upload_url }}
63-
asset_path: ./main.js
64-
asset_name: main.js
65-
asset_content_type: text/javascript
56+
- name: Upload main.js
57+
id: upload-main
58+
uses: actions/upload-release-asset@v1
59+
env:
60+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
with:
62+
upload_url: ${{ steps.create_release.outputs.upload_url }}
63+
asset_path: ./main.js
64+
asset_name: main.js
65+
asset_content_type: text/javascript
6666

67-
- name: Upload manifest.json
68-
id: upload-manifest
69-
uses: actions/upload-release-asset@v1
70-
env:
71-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72-
with:
73-
upload_url: ${{ steps.create_release.outputs.upload_url }}
74-
asset_path: ./manifest.json
75-
asset_name: manifest.json
76-
asset_content_type: application/json
67+
- name: Upload manifest.json
68+
id: upload-manifest
69+
uses: actions/upload-release-asset@v1
70+
env:
71+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72+
with:
73+
upload_url: ${{ steps.create_release.outputs.upload_url }}
74+
asset_path: ./manifest.json
75+
asset_name: manifest.json
76+
asset_content_type: application/json
7777

78-
- name: Upload styles.css
79-
id: upload-css
80-
uses: actions/upload-release-asset@v1
81-
env:
82-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83-
with:
84-
upload_url: ${{ steps.create_release.outputs.upload_url }}
85-
asset_path: ./styles.css
86-
asset_name: styles.css
87-
asset_content_type: text/css
78+
- name: Upload styles.css
79+
id: upload-css
80+
uses: actions/upload-release-asset@v1
81+
env:
82+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83+
with:
84+
upload_url: ${{ steps.create_release.outputs.upload_url }}
85+
asset_path: ./styles.css
86+
asset_name: styles.css
87+
asset_content_type: text/css

LICENSE.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# GNU GENERAL PUBLIC LICENSE
2+
23
Version 3, 29 June 2007
34

45
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
@@ -220,10 +221,10 @@ This requirement modifies the requirement in section 4 to
220221
"keep intact all notices".
221222

222223
c) You must license the entire work, as a whole, under this
223-
License to anyone who comes into possession of a copy. This
224+
License to anyone who comes into possession of a copy. This
224225
License will therefore apply, along with any applicable section 7
225226
additional terms, to the whole of the work, and all its parts,
226-
regardless of how they are packaged. This License gives no
227+
regardless of how they are packaged. This License gives no
227228
permission to license the work in any other way, but it does not
228229
invalidate such permission if you have separately received it.
229230

@@ -267,21 +268,21 @@ conveying of source, or (2) access to copy the
267268
Corresponding Source from a network server at no charge.
268269

269270
c) Convey individual copies of the object code with a copy of the
270-
written offer to provide the Corresponding Source. This
271+
written offer to provide the Corresponding Source. This
271272
alternative is allowed only occasionally and noncommercially, and
272273
only if you received the object code with such an offer, in accord
273274
with subsection 6b.
274275

275276
d) Convey the object code by offering access from a designated
276277
place (gratis or for a charge), and offer equivalent access to the
277278
Corresponding Source in the same way through the same place at no
278-
further charge. You need not require recipients to copy the
279-
Corresponding Source along with the object code. If the place to
279+
further charge. You need not require recipients to copy the
280+
Corresponding Source along with the object code. If the place to
280281
copy the object code is a network server, the Corresponding Source
281282
may be on a different server (operated by you or a third party)
282283
that supports equivalent copying facilities, provided you maintain
283284
clear directions next to the object code saying where to find the
284-
Corresponding Source. Regardless of what server hosts the
285+
Corresponding Source. Regardless of what server hosts the
285286
Corresponding Source, you remain obligated to ensure that it is
286287
available for as long as needed to satisfy these requirements.
287288

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,15 @@ You are more than welcome to open an issue on [GitHub](https://github.com/mProje
149149
150150
### Changelog
151151
152+
#### 0.5.0
153+
154+
- New simple search modal, select the media type and search all applicable APIs
155+
- More data for Board Games
156+
- Actors and Streaming Platforms for Movies and Series
157+
- Separate new file location for all media types
158+
- Separate command for each media type
159+
- Fix problems with closing of preview modal
160+
152161
#### 0.3.2
153162
154163
- Added Board Game Geek API (documentation pending)

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "obsidian-media-db-plugin",
33
"name": "Media DB Plugin",
4-
"version": "0.4.1",
4+
"version": "0.5.0",
55
"minAppVersion": "0.14.0",
66
"description": "A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.",
77
"author": "Moritz Jung",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian-media-db-plugin",
3-
"version": "0.4.1",
3+
"version": "0.5.0",
44
"description": "A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.",
55
"main": "main.js",
66
"scripts": {

src/utils/Utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { TFile, TFolder } from 'obsidian';
44
export const pluginName: string = 'obsidian-media-db-plugin';
55
export const contactEmail: string = 'm.projects.code@gmail.com';
66
export const mediaDbTag: string = 'mediaDB';
7-
export const mediaDbVersion: string = '0.4.1';
7+
export const mediaDbVersion: string = '0.5.0';
88
export const debug: boolean = true;
99

1010
export function wrapAround(value: number, size: number): number {

0 commit comments

Comments
 (0)