Skip to content

Commit e0fe8ed

Browse files
committed
add automated commit
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
1 parent 18e0097 commit e0fe8ed

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

make-release.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,20 @@ exportEnvironmentVariables() {
8888
export CHANNELS=$CHANNEL
8989

9090
}
91+
92+
commitChanges() {
93+
echo "[INFO] Pushing changes to $SCHEMA_VERSION branch"
94+
git add -A
95+
git commit -s -m "$1"
96+
git push origin $SCHEMA_VERSION
97+
}
9198

9299
main(){
100+
checkoutToReleaseBranch
93101
updateVersionNumbers
94102
exportEnvironmentVariables
95103
make bundle
104+
commitChanges "chore(release): release version ${SCHEMA_VERSION}"
96105
}
97106

98107
main

0 commit comments

Comments
 (0)