mirror of
https://github.com/traefik/traefik-library-image.git
synced 2026-05-02 18:32:33 +00:00
16 lines
307 B
Bash
Executable File
16 lines
307 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -u # Exit on error when uninitialized variable
|
|
|
|
if [ $# -eq 0 ] ; then
|
|
echo "Usage: ./updatev1.sh <traefik tag or branch>"
|
|
exit
|
|
fi
|
|
|
|
SCRIPT_DIRNAME_ABSOLUTEPATH="$(cd "$(dirname "$0")" && pwd -P)"
|
|
|
|
echo "$1" > ./version
|
|
|
|
bash "${SCRIPT_DIRNAME_ABSOLUTEPATH}/update.sh" "$1"
|