Skip to content

Commit

Permalink
fix(install): replace case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Morelly authored and FalcoSuessgott committed Feb 3, 2023
1 parent 43906b5 commit 444e7f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This template serves as a starting point for golang commandline applications it
<!--te-->

# Features
- [goreleaser](https://goreleaser.com/) with `deb.` and `.rpm` packer and container (`docker.hub` and `ghcr.io`) releasing including `manpages` and `shell completions`
- [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.
- [golangci-lint](https://golangci-lint.run/) for linting and formatting
- [Github Actions](.github/worflows) Stages (Lint, Test (`windows`, `linux`, `mac-os`), Build, Release)
- [Gitlab CI](.gitlab-ci.yml) Configuration (Lint, Test, Build, Release)
Expand Down
6 changes: 5 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ git clone git@github.com:FalcoSuessgott/golang-cli-template.git "$projectname"
cd "$projectname"
rm -rf .git
find . -type f -exec sed -i "s/golang-cli-template/$projectname/g" {} +
find . -type f -exec sed -i "s/FalcoSuessgott/$user/g" {} +
find . -type f -exec sed -i "s/[Ff]alco[Ss]uessgott/$user/g" {} +
git init
git add .
git commit -m "initial commit"
git remote add origin "git@github.com:$user/$projectname.git"

echo "template successfully installed."

go run main.go

exit 0

0 comments on commit 444e7f8

Please sign in to comment.