Skip to content

Commit

Permalink
fix: amend thing
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaochunqi committed Sep 23, 2024
1 parent cab2402 commit 0538cbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .husky/bump-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ console.log(
);

// Check if this is an --amend operation
const isAmend = process.env.GIT_INDEX_FILE !== undefined;
const isAmend = process.argv.includes("--amend");

if (isAmend) {
console.log("Amend operation detected, no version bump needed.");
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "starred-to-logseq-action",
"version": "1.3.1",
"version": "1.3.2",
"description": "This project is a GitHub action that outputs GitHub stars in the format of Logseq documents.",
"main": "dist/index.js",
"scripts": {
Expand Down Expand Up @@ -34,4 +34,4 @@
"moment": "^2.29.4",
"param-case": "^3.0.4"
}
}
}

0 comments on commit 0538cbd

Please sign in to comment.