diff options
Diffstat (limited to 'scripts/asset-release')
-rwxr-xr-x | scripts/asset-release | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/asset-release b/scripts/asset-release index 6a3e179..418477f 100755 --- a/scripts/asset-release +++ b/scripts/asset-release @@ -1,8 +1,11 @@ #!/bin/sh +# Copyright (C) 2020 Birte Kristina Friesel +# +# SPDX-License-Identifier: CC0-1.0 set -ex -current="$(find public/static/v* | tail -n 1 | grep -o '..$')" +current="$(find public/static/v* | tail -n 1 | grep -o '...$')" prev=$((current - 1)) next=$((current + 1)) |