aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-03-25 19:57:59 +0100
committerGitHub <noreply@github.com>2022-03-25 19:57:59 +0100
commit61205c1defb64ac5466496b5451e4a7f3171e21e (patch)
tree80f88f2592d2502bca56bd4c5a51905074aeb9c0 /ci
parent174deafcef27bc98df36c952ee93e316488bc765 (diff)
downloadrneovim-61205c1defb64ac5466496b5451e4a7f3171e21e.tar.gz
rneovim-61205c1defb64ac5466496b5451e4a7f3171e21e.tar.bz2
rneovim-61205c1defb64ac5466496b5451e4a7f3171e21e.zip
chore: fix typos (#17755)
Co-authored-by: Jordan Haine <jhaine@securitycompass.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/snap/deploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/snap/deploy.sh b/ci/snap/deploy.sh
index 8429059e22..1794fc61d9 100755
--- a/ci/snap/deploy.sh
+++ b/ci/snap/deploy.sh
@@ -8,7 +8,7 @@ WEBHOOK_PAYLOAD="$(cat "${SNAP_DIR}/.snapcraft_payload")"
PAYLOAD_SIG="${SECRET_SNAP_SIG}"
-snap_realease_needed() {
+snap_release_needed() {
last_committed_tag="$(git tag -l --sort=refname|head -1)"
last_snap_release="$(snap info nvim | awk '$1 == "latest/edge:" { print $2 }' | perl -lpe 's/v\d.\d.\d-//g')"
git fetch -f --tags
@@ -33,7 +33,7 @@ trigger_snapcraft_webhook() {
}
-if $(snap_realease_needed); then
+if $(snap_release_needed); then
echo "New snap release required"
trigger_snapcraft_webhook
fi