Skip to content

Commit 059a77f

Browse files
committed
refactor: restore shell script extensions
Without an extension, the shell script configuration in `.gitattribute` will not work.
1 parent badf268 commit 059a77f

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
run: npm i && npm run build
4343

4444
- name: Test Site
45-
run: bash tools/test
45+
run: bash tools/test.sh

_posts/2019-08-09-getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Sign in to GitHub to [fork **Chirpy**](https://github.com/cotes2020/jekyll-theme
3535
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:
3636

3737
```console
38-
$ bash tools/init
38+
$ bash tools/init.sh
3939
```
4040

4141
> If you don't want to deploy your site on GitHub Pages, append option `--no-gh` at the end of the above command.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@
156156
[
157157
"@semantic-release/exec",
158158
{
159-
"prepareCmd": "bash tools/release --prepare",
160-
"publishCmd": "bash tools/release"
159+
"prepareCmd": "bash tools/release.sh --prepare",
160+
"publishCmd": "bash tools/release.sh"
161161
}
162162
],
163163
[
File renamed without changes.

tools/release renamed to tools/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ help() {
3737
echo " 2. Merge the release branch into the default branch"
3838
echo
3939
echo "Usage:"
40-
echo " bash ./tools/release [options]"
40+
echo " bash $0 [options]"
4141
echo
4242
echo "Options:"
4343
echo " --prepare Preparation for release"
File renamed without changes.

tools/test renamed to tools/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ help() {
1919
echo
2020
echo "Usage:"
2121
echo
22-
echo " bash ./tools/test [options]"
22+
echo " bash $0 [options]"
2323
echo
2424
echo "Options:"
2525
echo ' -c, --config "<config_a[,config_b[...]]>" Specify config file(s)'

0 commit comments

Comments
 (0)