We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e64624 commit af23e92Copy full SHA for af23e92
commitpacs/commitpacs
@@ -41,6 +41,12 @@ commitPkg() {
41
pkgDir="$(getPkgDir "$pkg")"
42
pkgVer="$(getPkgVer "$pkgDir")"
43
44
+ if [[ "${BUMPREL:-}" == 1 ]]; then
45
+ log "[$pkg] Bumping REL ..."
46
+ "$(dirname "$(dirname "$(realpath "$(command -v "$0")")")")/bump-rel/bump-rel" \
47
+ "$pkgDir/spec"
48
+ fi
49
+
50
local message
51
message="$pkg: ${commitTemplate//\$VER/${pkgVer}}"
52
@@ -63,6 +69,9 @@ Usage: $0 <MESSAGE> [PACKAGES]...
63
69
64
70
Commit many packages with a message.
65
71
When packages is not set, all changed packages are committed.
72
73
+Possible environment variables:
74
+ BUMPREL: Set to 1 to bump REL before committing
66
75
EOF
67
76
exit
68
77
fi
0 commit comments