refactor: restore shell script extensions
Without an extension, the shell script configuration in `.gitattribute` will not work.
This commit is contained in:
parent
64ae7a3671
commit
1c5fa0880d
7 changed files with 6 additions and 6 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
|
@ -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"
|
|
@ -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)'
|
Loading…
Reference in a new issue