mirror of
https://github.com/gwebu-team/profile.d.git
synced 2025-12-11 12:15:47 +00:00
New shebang for changelog.sh, post-commit hook in README.md.
Some checks failed
Makefile CI / build (push) Has been cancelled
Some checks failed
Makefile CI / build (push) Has been cancelled
This commit is contained in:
parent
3df2a4eade
commit
45d926a3a9
3 changed files with 28 additions and 2 deletions
14
README.md
14
README.md
|
|
@ -2,3 +2,17 @@
|
|||
|
||||
This is a collection of /etc/profile.d files used by the gwebu team.
|
||||
Unless explicitly stated in the file itself, the license is [The Unlicense](https://choosealicense.com/licenses/unlicense/).
|
||||
|
||||
## Hooks
|
||||
|
||||
Create the following hook in your local repository to update the RPM changelog for you:
|
||||
|
||||
|
||||
```bash
|
||||
echo '#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
./changelog.sh' > .git/hooks/post-commit
|
||||
chmod a+x .git/hooks/post-commit
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue