refactor: restore shell script extensions

Without an extension, the shell script configuration in `.gitattribute` will not work.
This commit is contained in:
Cotes Chung 2024-06-01 04:11:01 +08:00
parent 64ae7a3671
commit 1c5fa0880d
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
7 changed files with 6 additions and 6 deletions

View file

@ -42,4 +42,4 @@ jobs:
run: npm i && npm run build run: npm i && npm run build
- name: Test Site - name: Test Site
run: bash tools/test run: bash tools/test.sh

View file

@ -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: 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 ```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. > If you don't want to deploy your site on GitHub Pages, append option `--no-gh` at the end of the above command.

View file

@ -156,8 +156,8 @@
[ [
"@semantic-release/exec", "@semantic-release/exec",
{ {
"prepareCmd": "bash tools/release --prepare", "prepareCmd": "bash tools/release.sh --prepare",
"publishCmd": "bash tools/release" "publishCmd": "bash tools/release.sh"
} }
], ],
[ [

View file

@ -37,7 +37,7 @@ help() {
echo " 2. Merge the release branch into the default branch" echo " 2. Merge the release branch into the default branch"
echo echo
echo "Usage:" echo "Usage:"
echo " bash ./tools/release [options]" echo " bash $0 [options]"
echo echo
echo "Options:" echo "Options:"
echo " --prepare Preparation for release" echo " --prepare Preparation for release"

View file

@ -19,7 +19,7 @@ help() {
echo echo
echo "Usage:" echo "Usage:"
echo echo
echo " bash ./tools/test [options]" echo " bash $0 [options]"
echo echo
echo "Options:" echo "Options:"
echo ' -c, --config "<config_a[,config_b[...]]>" Specify config file(s)' echo ' -c, --config "<config_a[,config_b[...]]>" Specify config file(s)'