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