diff --git a/plugin.sh b/plugin.sh index 68c0f13..7d5fc0a 100644 --- a/plugin.sh +++ b/plugin.sh @@ -1,7 +1,7 @@ #!/busybox/sh set -euo pipefail -# git fetch +git fetch CURRENTTAG=$(git tag --sort=-taggerdate | head -n 1) PREVIOUSTAG=$(git tag --sort=-taggerdate | head -n 2 | tail -n 1)