Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Always prefer tauri configs further up the file tree #502

Merged
merged 8 commits into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changes/enhanve-tauridir-search-gitignore.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
action: patch
---

While looking for the tauri directory the action will now respect all gitignore files and not just the one in the root dir.
2 changes: 1 addition & 1 deletion .changes/fix-prefer-release-for-updater.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
action: patch:bug
action: patch
---

The action now prefers release builds for the latest.json file if both, release and debug releases are enabled.
2 changes: 1 addition & 1 deletion .changes/fix-self-hosted.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
action: patch:bug
action: patch
---

Correctly detect self-hosted macOS-arm64 runners.
2 changes: 1 addition & 1 deletion .changes/fix-tauri-init.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
action: patch:bug
action: patch
---

Read config after `tauri init` command and without hardcoding the `tauri.conf.json` path, fixes action failures without error messages on repos without an existing Tauri project.
5 changes: 5 additions & 0 deletions .changes/fix-tauridir-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
action: patch
---

While looking for the tauri directory the action will now consistently prefer files further up in the directory levels.
43 changes: 41 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"@actions/github": "5.1.1",
"@iarna/toml": "2.2.5",
"execa": "7.1.1",
"glob-gitignore": "^1.0.14",
"ignore": "5.2.4",
"globby": "^13.2.2",
"json5": "2.2.3",
"lodash.merge": "^4.6.2",
"string-argv": "0.3.2",
Expand Down
96 changes: 40 additions & 56 deletions pnpm-lock.yaml

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

Loading
Loading