mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-01-23 12:29:31 -06:00
Okay, this should work since [[ is bash-specific
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
version=$1
|
||||
echo "Version: $version"
|
||||
|
||||
if [[ $version == *"SNAPSHOT"* ]]; then
|
||||
version="latest"
|
||||
fi
|
||||
case "$version" in
|
||||
*SNAPSHOT*)
|
||||
version="latest"
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "Using image tag: $version"
|
||||
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
version=$1
|
||||
echo "Version: $version"
|
||||
|
||||
if [[ $version == *"SNAPSHOT"* ]]; then
|
||||
version="latest"
|
||||
fi
|
||||
case "$version" in
|
||||
*SNAPSHOT*)
|
||||
version="latest"
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "Using image tag: $version"
|
||||
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
version=$1
|
||||
echo "Version: $version"
|
||||
|
||||
if [[ $version == *"SNAPSHOT"* ]]; then
|
||||
version="latest"
|
||||
fi
|
||||
case "$version" in
|
||||
*SNAPSHOT*)
|
||||
version="latest"
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "Using image tag: $version"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user