diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 685cc48..ae0387c 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -108,11 +108,7 @@ jobs: git config --global --add safe.directory "$PWD" git config user.email "ci@catcrafts.net" git config user.name "fp6-img CI" - # Annotated, so the release keeps the top of the releases page: - # Forgejo stamps a release with its tag's time at every tag push - - # a lightweight tag's is the commit's, older than the dated release - # tagged at push time; an annotated tag's is now. - git tag -a -f latest -m "Latest FP6 Nura image, built $(date -u +%Y-%m-%d) from $(git rev-parse --short HEAD)" + git tag -f latest git push origin latest --force - name: Publish rolling 'latest' release