hello-theme/.github/scripts/commit-push-bump.sh
ronkelementor e5944194d2
New: Copy GitHub actions from next release for releases (#167)
* New: Add GitHub actions for releases

* delete build + lint workflows
2021-06-21 13:16:26 +03:00

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