Skip to content

Commit

Permalink
Update check-update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
KEINOS committed Aug 25, 2020
1 parent 8de76f9 commit 03ed620
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion check-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,13 @@ docker run --rm $NAME_IMAGE_DOCKER_LATEST php -i >./$PATH_FILE_PHP_INFO
# Updating loaded extension modules by default
docker run --rm $NAME_IMAGE_DOCKER_LATEST php -m >./$PATH_FILE_EXT_INFO

varsion_php=$(docker run --rm keinos/php8-jit:latest php -r 'echo phpversion();')

# Updating git
echo 'GIT: Committing and pushing to GitHub ...'
git add . &&
git commit -m "feat: Alpine v${VERSION_NEW} Build: ${BUILD_ID}" &&
git tag "v${VERSION_NEW}(Build:${BUILD_ID})" &&
git tag "${varsion_php:-8.0.0-dev}-build-${BUILD_ID}" &&
git push --tags &&
git push origin
if [ $? -ne 0 ]; then
Expand Down

0 comments on commit 03ed620

Please sign in to comment.