Files
carpseeds.pl/wp-content/plugins/elementor-3.2.5-bck4/.github/scripts/commit-push-bump.sh
2024-07-15 11:28:08 +02:00

14 lines
284 B
Bash

#!/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