mirror of
https://gh.wpcy.net/https://github.com/elementor/hello-theme.git
synced 2026-04-28 12:22:20 +08:00
13 lines
284 B
Bash
13 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
|