Skip to content

Commit

Permalink
refactor: restore shell script extensions
Browse files Browse the repository at this point in the history
Without an extension, the shell script configuration in `.gitattribute` will not work.
  • Loading branch information
cotes2020 committed May 31, 2024
1 parent 64ae7a3 commit 1c5fa08
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
run: npm i && npm run build

- name: Test Site
run: bash tools/test
run: bash tools/test.sh
2 changes: 1 addition & 1 deletion _posts/2019-08-09-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Sign in to GitHub to [fork **Chirpy**](https://github.com/cotes2020/jekyll-theme
Next, clone the repository to your local machine, make sure it has [Node.js][nodejs] installed, then go to the root directory of the repo and run the following command:

```console
$ bash tools/init
$ bash tools/init.sh
```

> If you don't want to deploy your site on GitHub Pages, append option `--no-gh` at the end of the above command.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@
[
"@semantic-release/exec",
{
"prepareCmd": "bash tools/release --prepare",
"publishCmd": "bash tools/release"
"prepareCmd": "bash tools/release.sh --prepare",
"publishCmd": "bash tools/release.sh"
}
],
[
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tools/release → tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ help() {
echo " 2. Merge the release branch into the default branch"
echo
echo "Usage:"
echo " bash ./tools/release [options]"
echo " bash $0 [options]"
echo
echo "Options:"
echo " --prepare Preparation for release"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tools/test → tools/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ help() {
echo
echo "Usage:"
echo
echo " bash ./tools/test [options]"
echo " bash $0 [options]"
echo
echo "Options:"
echo ' -c, --config "<config_a[,config_b[...]]>" Specify config file(s)'
Expand Down

0 comments on commit 1c5fa08

Please sign in to comment.