Skip to content

Commit 444e7f8

Browse files
Tom MorellyFalcoSuessgott
authored andcommitted
fix(install): replace case insensitive
1 parent 43906b5 commit 444e7f8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This template serves as a starting point for golang commandline applications it
3131
<!--te-->
3232

3333
# Features
34-
- [goreleaser](https://goreleaser.com/) with `deb.` and `.rpm` packer and container (`docker.hub` and `ghcr.io`) releasing including `manpages` and `shell completions`
34+
- [goreleaser](https://goreleaser.com/) with `deb.` and `.rpm` packer and container (`docker.hub` and `ghcr.io`) releasing including `manpages` and `shell completions` and grouped Changelog generation.
3535
- [golangci-lint](https://golangci-lint.run/) for linting and formatting
3636
- [Github Actions](.github/worflows) Stages (Lint, Test (`windows`, `linux`, `mac-os`), Build, Release)
3737
- [Gitlab CI](.gitlab-ci.yml) Configuration (Lint, Test, Build, Release)

install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ git clone [email protected]:FalcoSuessgott/golang-cli-template.git "$projectname"
99
cd "$projectname"
1010
rm -rf .git
1111
find . -type f -exec sed -i "s/golang-cli-template/$projectname/g" {} +
12-
find . -type f -exec sed -i "s/FalcoSuessgott/$user/g" {} +
12+
find . -type f -exec sed -i "s/[Ff]alco[Ss]uessgott/$user/g" {} +
1313
git init
1414
git add .
1515
git commit -m "initial commit"
1616
git remote add origin "[email protected]:$user/$projectname.git"
1717

1818
echo "template successfully installed."
19+
20+
go run main.go
21+
22+
exit 0

0 commit comments

Comments
 (0)