Skip to content

Commit a3a3498

Browse files
feat: Build for release
1 parent 6eb78d7 commit a3a3498

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2019 Technote
3+
Copyright (c) 2020 Technote
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21-
THE SOFTWARE.
21+
THE SOFTWARE.

bin/setup.sh

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,18 @@ if [[ -z "${REPO}" ]]; then
1414
exit
1515
fi
1616

17-
echo "Repository: ${OWNER}/${REPO}"
17+
echo "Title: [= ]"
18+
read -r TITLE
19+
20+
echo "DESCRIOTION: [= ]"
21+
read -r DESCRIOTION
22+
23+
echo ""
24+
echo "=================================="
25+
echo "Repository: ${OWNER}/${REPO}"
26+
echo "Title: ${TITLE}"
27+
echo "Description: ${DESCRIOTION}"
28+
echo "=================================="
1829
# shellcheck disable=SC2162
1930
read -n1 -p "ok? (y/N): " yn
2031
if [[ $yn != [yY] ]]; then
@@ -25,6 +36,11 @@ sed -i "s/technote-space/${OWNER}/g" .github/CODEOWNERS
2536
sed -i "s/technote-space/${OWNER}/g" README.md
2637
sed -i "s/gh-actions-template/${REPO}/g" README.md
2738
sed -i "s/technote-space\/gh-actions-template/${OWNER}\/${REPO}/g" package.json
39+
sed -i "s/Template for GitHub actions\./${DESCRIOTION}/g" README.md
40+
sed -i "s/Template for GitHub actions\./${DESCRIOTION}/g" package.json
41+
sed -i "s/Template for GitHub actions\./${DESCRIOTION}/g" action.yml
42+
sed -i "s/GitHub Actions Template/${TITLE}/g" README.md
43+
sed -i "s/GitHub Actions Template/${TITLE}/g" action.yml
2844

2945
if [[ "${OWNER}" != 'technote-space' ]]; then
3046
rm -f .github/FUNDING.yml
@@ -36,6 +52,8 @@ sed -i '/setup.sh/d' package.json
3652
touch __DELETE__
3753

3854
cat << EOS
55+
56+
3957
Please edit package.json
4058
- version
4159
- description

build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"owner":"technote-space","repo":"gh-actions-template","sha":"86f4795ee8cea8cd0f9b936d8cf57220ce821254","ref":"refs/tags/test/v0.1.4","tagName":"test/v0.1.4","branch":"gh-actions","tags":["test/v0.1.4","test/v0.1","test/v0"],"updated_at":"2020-02-16T09:07:04.692Z"}
1+
{"owner":"technote-space","repo":"gh-actions-template","sha":"a5899f9eae168ea44fb48b5eae590eb2a54a80ac","ref":"refs/tags/v0.1.4","tagName":"v0.1.4","branch":"gh-actions","tags":["v0.1.4","v0.1","v0"],"updated_at":"2020-02-17T03:35:11.426Z"}

0 commit comments

Comments
 (0)