Use `bump(repo/pkgname)` as the mnemonic for bump
I just can't tolerate the previous one shown in Actions timeline anymore.
This commit is contained in:
parent
7f518f6a83
commit
4ee2e32f7b
|
@ -328,7 +328,7 @@ Any line in the commit **should not exceed 80 characters**. In case it does, con
|
|||
- `<commitType>` describes the type of commit. Types of commits:
|
||||
- `addpkg(<repo>/<package>)`: A new package was added.
|
||||
Commit summary should include a short description of the package. Optional extended commit message may include usage instructions for the package and/or reasons for inclusion.
|
||||
- `upgpkg(<repo>/<package>)`: One or more package(s) was/were updated.
|
||||
- `bump(<repo>/<package>)`: One or more package(s) was/were updated.
|
||||
Commit summary should include the newer version/tag to which the package was updated to. Optional extended commit message may include new list of features in the new version, and detailed list of changes in build scripts and/or patches
|
||||
- `fix(<repo>/<package>): Fix a Termux specific bug in a package
|
||||
Commit summary should contain a summary of old incorrect behaviour of the package. Extended commit message may contain a deeper analysis of the bug.
|
||||
|
@ -351,7 +351,7 @@ Any line in the commit **should not exceed 80 characters**. In case it does, con
|
|||
Examples of good commit messages:
|
||||
|
||||
1. ```
|
||||
upgpkg(main/nodejs): v18.2.0
|
||||
bump(main/nodejs): v18.2.0
|
||||
```
|
||||
|
||||
2. ```
|
||||
|
@ -361,7 +361,7 @@ Examples of good commit messages:
|
|||
```
|
||||
|
||||
3. ```
|
||||
enhance,upgpkg(main/nodejs): v18.2.0 and use shared libuv
|
||||
enhance,bump(main/nodejs): v18.2.0 and use shared libuv
|
||||
|
||||
# Describe the technical reasons of how using shared libuv is beneficial
|
||||
```
|
||||
|
|
|
@ -93,13 +93,13 @@ for package in "${@}"; do
|
|||
git --no-pager diff --patch "${buildsh_path}"
|
||||
echo "--------------------"
|
||||
echo
|
||||
echo "upgpkg(${repo}/${package}): $(. "${buildsh_path}"; echo "${TERMUX_PKG_VERSION}" | cut -d: -f2-)"
|
||||
echo "bump(${repo}/${package}): $(. "${buildsh_path}"; echo "${TERMUX_PKG_VERSION}" | cut -d: -f2-)"
|
||||
echo
|
||||
read -re -p "Do you want to commit changes ? (y/n) " CHOICE
|
||||
echo
|
||||
if [[ ${CHOICE} =~ (Y|y) ]]; then
|
||||
git add "${buildsh_path}"
|
||||
git commit -m "upgpkg(${repo}/${package}): $(. "${buildsh_path}"; echo "${TERMUX_PKG_VERSION}" | cut -d: -f2-)"
|
||||
git commit -m "bump(${repo}/${package}): $(. "${buildsh_path}"; echo "${TERMUX_PKG_VERSION}" | cut -d: -f2-)"
|
||||
else
|
||||
echo "Not committing to Git!"
|
||||
fi
|
||||
|
|
|
@ -81,7 +81,7 @@ termux_pkg_upgrade_version() {
|
|||
echo "INFO: Committing package."
|
||||
stderr="$(
|
||||
git add "${TERMUX_PKG_BUILDER_DIR}" 2>&1 >/dev/null
|
||||
git commit -m "upgpkg(${repo}/${TERMUX_PKG_NAME}): ${LATEST_VERSION}" \
|
||||
git commit -m "bump(${repo}/${TERMUX_PKG_NAME}): ${LATEST_VERSION}" \
|
||||
-m "This commit has been automatically submitted by Github Actions." 2>&1 >/dev/null
|
||||
)" || {
|
||||
termux_error_exit <<-EndOfError
|
||||
|
|
Loading…
Reference in New Issue