You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.5 KiB
1.5 KiB
Documentation
Initiate
Rk: useful when timezone has changed or ghostty command has been installed afterwards
miaou-bash --self-upgrade
debug, use of MIAOU_DEBUG
MIAOU_DEBUG=true miaou-bash <<EOF
echo this is still fine
false
echo SHOULD NOT APPEAR
EOF
hooks.d/after-upgrade
To launch optional scripts after 'upgrade', you can create any hook regarding:
- script should be stored in "$MIAOU_BASH_DIR/hooks.d/
- script should be named with prefix 'after-upgrade', example:
after-upgrade-1.bash - script should be executable, ie:
chmod +x after-upgrade-1.bash
Be aware: no matter a failure happens during processing a hook, it will get bypassed! As so the whole process of upgrading keeps running on.
Rk: hooks.d/ respects natural order,
ie: after-upgrade-0.bash will perform before after-upgrade-1.bash
IDEA
distinguish heredoc over pipe
miaou-bash <<EOF
echo HEREDOC
EOF
miaou-bash < <(echo 'echo PIPE1')
echo 'echo PIPE2' | miaou-bash
See Also: Bash Tips
TODO
- prompt should show up version with
+when there is more than one commit, not yet versioned. ie: v0.0.0 + 2 commits more should display v0.0.0+ - semver_git_tag should append
RELEASE_NOTES.mdfrom this TODO markdown file, providing that NEW NOTE section below contains appropriate items to fulfill the current release note - git log <LATEST_TAG>..HEAD --oneline