You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/01/13 15:36:55 UTC

[logging-log4j-tools] 03/06: Force the git tag in CI

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git

commit 7d895cd41f0cc3729ff477094104630ce2109bab
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Tue Jan 10 11:18:50 2023 +0100

    Force the git tag in CI
---
 .github/workflows/build.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8f31b98..b1493bf 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -206,5 +206,5 @@ jobs:
           export TAG="v$PROJECT_VERSION"
           git config user.name github-actions
           git config user.email github-actions@github.com
-          git tag "$TAG"
-          git push origin "$TAG"
+          git tag --force "$TAG"
+          git push --force origin "$TAG"