Skip to content

Commit

Permalink
1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vslinko committed Oct 16, 2022
1 parent ed5c13c commit f786a8a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 12 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
push:
branches: "**"

env:
OBSIDIAN_VERSION: "1.0.0"

jobs:
build:
runs-on: macos-latest
Expand All @@ -19,10 +22,10 @@ jobs:
run: npm ci
- name: Install Obsidian
run: |
wget -q https://github.com/obsidianmd/obsidian-releases/releases/download/v0.15.9/Obsidian-0.15.9-universal.dmg
sudo hdiutil attach Obsidian-0.15.9-universal.dmg
sudo cp -rf "/Volumes/Obsidian 0.15.9-universal/Obsidian.app" /Applications
sudo hdiutil detach "/Volumes/Obsidian 0.15.9-universal"
wget -q https://github.com/obsidianmd/obsidian-releases/releases/download/v$OBSIDIAN_VERSION/Obsidian-$OBSIDIAN_VERSION-universal.dmg
sudo hdiutil attach Obsidian-$OBSIDIAN_VERSION-universal.dmg
sudo cp -rf "/Volumes/Obsidian $OBSIDIAN_VERSION-universal/Obsidian.app" /Applications
sudo hdiutil detach "/Volumes/Obsidian $OBSIDIAN_VERSION-universal"
- name: Lint
run: npm run lint
- name: Test
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
types:
- created

env:
OBSIDIAN_VERSION: "1.0.0"

jobs:
build:
runs-on: macos-latest
Expand All @@ -19,10 +22,10 @@ jobs:
run: npm ci
- name: Install Obsidian
run: |
wget -q https://github.com/obsidianmd/obsidian-releases/releases/download/v0.15.9/Obsidian-0.15.9-universal.dmg
sudo hdiutil attach Obsidian-0.15.9-universal.dmg
sudo cp -rf "/Volumes/Obsidian 0.15.9-universal/Obsidian.app" /Applications
sudo hdiutil detach "/Volumes/Obsidian 0.15.9-universal"
wget -q https://github.com/obsidianmd/obsidian-releases/releases/download/v$OBSIDIAN_VERSION/Obsidian-$OBSIDIAN_VERSION-universal.dmg
sudo hdiutil attach Obsidian-$OBSIDIAN_VERSION-universal.dmg
sudo cp -rf "/Volumes/Obsidian $OBSIDIAN_VERSION-universal/Obsidian.app" /Applications
sudo hdiutil detach "/Volumes/Obsidian $OBSIDIAN_VERSION-universal"
- name: Lint
run: npm run lint
- name: Test
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-zoom",
"name": "Zoom",
"version": "1.0.1",
"version": "1.0.2",
"minAppVersion": "1.0.0",
"description": "Zoom into heading and lists.",
"author": "Viacheslav Slinko",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-zoom",
"version": "1.0.1",
"version": "1.0.2",
"description": "Zoom into heading and lists.",
"main": "main.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"1.0.2": "1.0.0",
"1.0.1": "0.15.9",
"1.0.0": "0.15.9",
"0.3.0": "0.15.9",
Expand Down

0 comments on commit f786a8a

Please sign in to comment.