Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Commit

Permalink
Release 21.09
Browse files Browse the repository at this point in the history
  • Loading branch information
accetto committed Sep 23, 2021
1 parent 367a2b3 commit 5d09428
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 30 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@

***

### Release 21.09

- utility `builder.sh` improved
- Chromium Browser **93.0.4577.63**

### Release 21.08.1

- utility `builder.sh` improved
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,4 +307,4 @@ Credit goes to all the countless people and companies who contribute to open sou

<!-- latest tag badges -->

[badge-VERSION_STICKER_LATEST]: https://badgen.net/badge/version%20sticker/ubuntu18.04.5-chromium92.0.4515.159/blue
[badge-VERSION_STICKER_LATEST]: https://badgen.net/badge/version%20sticker/ubuntu18.04.5-chromium93.0.4577.63/blue
59 changes: 31 additions & 28 deletions builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,48 +62,51 @@ main() {

./hooks/build "${tag}"

echo
echo "---------------------------"
echo "--> Testing version sticker"
echo "---------------------------"
echo
if [ $? -eq 0 ] ; then

### test version sticker
test_result=$( hooks/test "${tag}" 2>&1 | tail -n5 )
echo
echo "---------------------------"
echo "--> Testing version sticker"
echo "---------------------------"
echo

echo "${test_result}"
echo
### test version sticker
test_result=$( hooks/test "${tag}" 2>&1 | tail -n5 )

last_line=$(echo "${test_result}" | tail -n1)
echo "${test_result}"
echo

if [ "${last_line}" == '+ exit 0' ] ; then
last_line=$(echo "${test_result}" | tail -n1)

docker_hub_connect
if [ "${last_line}" == '+ exit 0' ] ; then

if [ $? -eq 0 ] ; then
docker_hub_connect

echo
echo "-------------------------"
echo "--> Pushing to Docker Hub"
echo "-------------------------"
echo
if [ $? -eq 0 ] ; then

hooks/push "${tag}"
echo
echo "-------------------------"
echo "--> Pushing to Docker Hub"
echo "-------------------------"
echo

docker logout
hooks/push "${tag}"

echo
echo "Refreshing README..."
docker logout

./utils/util-refresh-readme.sh
echo
echo "Refreshing README..."

else
./utils/util-refresh-readme.sh

echo "Unable to connect to Docker hub!"
fi
else

else
echo "Version sticker has changed. Adjust 'env' hook and refresh README using 'util-refresh-readme.sh'. Use 'test' command for details."
echo "Unable to connect to Docker hub!"
fi

else
echo "Version sticker has changed. Adjust 'env' hook and refresh README using 'util-refresh-readme.sh'. Use 'test' command for details."
fi
fi
;;

Expand Down
2 changes: 1 addition & 1 deletion hooks/env
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ BASETAG=""
TODAY=$(date +%Y-%m-%d)

### Warning! The values must be explicit strings (used by utils).
VERSION_STICKER_LATEST="ubuntu18.04.5-chromium92.0.4515.159"
VERSION_STICKER_LATEST="ubuntu18.04.5-chromium93.0.4577.63"

VERSION_STICKER="${VERSION_STICKER_LATEST}"

Expand Down

0 comments on commit 5d09428

Please sign in to comment.