Skip to content

Commit

Permalink
feat: fix migration warning showing more than once
Browse files Browse the repository at this point in the history
chore(release): 0.6.0
  • Loading branch information
JeppeKlitgaard committed Jan 20, 2022
1 parent d4343fb commit 7b98708
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest-beta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-ankibridge",
"name": "AnkiBridge",
"version": "0.5.2",
"version": "0.6.0",
"minAppVersion": "0.13.16",
"description": "Yet Another Anki Bridge",
"author": "Jeppe Klitgaard",
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-ankibridge",
"name": "AnkiBridge",
"version": "0.5.2",
"version": "0.6.0",
"minAppVersion": "0.13.16",
"description": "Yet Another Anki Bridge",
"author": "Jeppe Klitgaard",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-ankibridge",
"version": "0.5.2",
"version": "0.6.0",
"description": "Yet Another Anki Bridge.",
"keywords": [],
"license": "MIT",
Expand Down
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ export default class AnkiBridgePlugin extends Plugin {
'Press this notice to make it disappear. <br>' + '<b>It will not show up again.</b>'

new Notice(noticeContent, 0)

this.settings.currentMigrationVersion = 1
await this.syncActiveFile()
}

await this.pingAnki()
Expand Down
2 changes: 1 addition & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"0.5.2": "0.13.16",
"0.6.0": "0.13.16",
"0.5.1": "0.13.16",
"0.4.1": "0.13.16",
"0.4.0": "0.13.16",
Expand Down

0 comments on commit 7b98708

Please sign in to comment.