From 1ddf36bf0ad7fe62434860771316971f73d8d6b0 Mon Sep 17 00:00:00 2001 From: Rene Date: Thu, 24 Mar 2022 23:53:03 +0100 Subject: [PATCH] checkout latest version --- roles/mastodon/tasks/system_setup/mastodon.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/mastodon/tasks/system_setup/mastodon.yml b/roles/mastodon/tasks/system_setup/mastodon.yml index e0ff4d6..ef867d9 100644 --- a/roles/mastodon/tasks/system_setup/mastodon.yml +++ b/roles/mastodon/tasks/system_setup/mastodon.yml @@ -5,10 +5,10 @@ dest: "{{ mastodon_home }}/{{mastodon_path}}" clone: true - # - name: Update to latest version - # shell: "git fetch; git checkout $(git tag -l | grep -v 'rc[1-9]*$' | sort -V | tail -n 1)" - # args: - # chdir: "{{ mastodon_home }}/{{ mastodon_path }}" + - name: Update to latest version + shell: "git fetch; git checkout $(git tag -l | grep -v 'rc[1-9]*$' | sort -V | tail -n 1)" + args: + chdir: "{{ mastodon_home }}/{{ mastodon_path }}" - name: Bundle install shell: |