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/10/26 08:46:17 UTC

[logging-parent] branch release/10.3.0 updated: Fix `sed` in CI (#50)

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

vy pushed a commit to branch release/10.3.0
in repository https://gitbox.apache.org/repos/asf/logging-parent.git


The following commit(s) were added to refs/heads/release/10.3.0 by this push:
     new 62a4916  Fix `sed` in CI (#50)
62a4916 is described below

commit 62a49161642cfcc2a88336e1d7c2e47d70681610
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Thu Oct 26 10:45:57 2023 +0200

    Fix `sed` in CI (#50)
    
    (cherry picked from commit 88d3ffed98dcb9c056ea9bde7393fb16e3bda183)
---
 .github/workflows/deploy-release-reusable.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/deploy-release-reusable.yaml b/.github/workflows/deploy-release-reusable.yaml
index a1e0fdf..9497f0d 100644
--- a/.github/workflows/deploy-release-reusable.yaml
+++ b/.github/workflows/deploy-release-reusable.yaml
@@ -123,7 +123,7 @@ jobs:
         run: |
           export PROPERTY="project.build.outputTimestamp"
           export TIMESTAMP=$(date --utc "+%Y-%m-%dT%H:%M:%SZ")
-          sed 's|^([\t ]+<'$PROPERTY'>).+(</'$PROPERTY'>)$|\1'$TIMESTAMP'\2|g' -i pom.xml
+          sed -r 's|^([\t ]+<'$PROPERTY'>).+(</'$PROPERTY'>)$|\1'$TIMESTAMP'\2|g' -i pom.xml
           if [ -n "$(git status --porcelain)" ]; then
             git commit -S pom.xml -m 'Update the `project.build.outputTimestamp` property'
             git push -f origin