1
0
Fork 0
mirror of https://github.com/elementor/hello-theme.git synced 2026-07-26 12:26:54 +08:00
hello-theme/.github/scripts/commit-push-bump.sh
2025-09-04 14:48:44 +02:00

13 lines
284 B
Bash
Executable file

#!/bin/bash
set -eo pipefail
if [[ -z "$PACKAGE_VERSION" ]]; then
echo "Missing PACKAGE_VERSION env var"
exit 1
fi
bash "${GITHUB_WORKSPACE}/.github/scripts/set-git-user.sh"
echo "Commit and push bump version ${PACKAGE_VERSION}"
git commit -am "Bump ${PACKAGE_VERSION}"
git push