Skip to content
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
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ jobs:
with:
name: llama.cpp
path: llama
- name: Apply fix patch on semantic-release, to not check for push permission on dry run
run: git apply --ignore-whitespace ./scripts/patches/semantic-release+24.1.1.patch
- name: Resolve next release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Up @@ -154,7 +154,7 @@
"husky": "^9.1.6",
"rehype": "^13.0.1",
"rimraf": "^6.0.1",
"semantic-release": "^24.1.1",
"semantic-release": "24.1.1",
"sharp": "^0.33.5",
"tslib": "^2.7.0",
"typedoc": "^0.26.7",
Expand Down
14 changes: 14 additions & 0 deletions scripts/patches/semantic-release+24.1.1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/node_modules/semantic-release/index.js b/node_modules/semantic-release/index.js
index 19c9f70..559665c 100644
--- a/node_modules/semantic-release/index.js
+++ b/node_modules/semantic-release/index.js
@@ -94,7 +94,8 @@ async function run(context, plugins) {
return false;
}

- throw error;
+ if (!options.dryRun)
+ throw error;
}
} catch (error) {
logger.error(`The command "${error.command}" failed with the error message ${error.stderr}.`);
Loading