From 77f87c2961c9af1410ab0a57180150082121e858 Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Wed, 26 Apr 2023 08:58:09 +0300 Subject: [PATCH] fetch --- .github/workflows/up.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/up.yml b/.github/workflows/up.yml index 065832890..c56f7e994 100644 --- a/.github/workflows/up.yml +++ b/.github/workflows/up.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@v3 - run: |- - git pull --tags && \ + git fetch --tags --force && \ latest=$(git tag --sort=creatordate | tail -1) && \ sed -E -i "s/[^<]+/${latest}/g" README.md && \ sed -E -i "s/org.cactoos:cactoos:.+/org.cactoos:cactoos::${latest}/g" README.md