You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by dc...@apache.org on 2022/07/15 00:02:12 UTC
svn commit: r55750 - /dev/datasketches/scripts/getGitProperties.sh
Author: dcromberge
Date: Fri Jul 15 00:02:12 2022
New Revision: 55750
Log:
minor fixes to getGitProperties.sh
Modified:
dev/datasketches/scripts/getGitProperties.sh
Modified: dev/datasketches/scripts/getGitProperties.sh
==============================================================================
--- dev/datasketches/scripts/getGitProperties.sh (original)
+++ dev/datasketches/scripts/getGitProperties.sh Fri Jul 15 00:02:12 2022
@@ -32,7 +32,7 @@ prop='{'$CR
#Add Implementation Vendor
prop=$prop' "Implementation-Vendor" : '
-tmp='"The Apache Software Foundataion", '$CR
+tmp='"The Apache Software Foundation", '$CR
prop=$prop$tmp
#Add GroupId : ArtifactId
@@ -41,28 +41,28 @@ tmp='"org.apache.datasketches:'$ArtId'",
prop=$prop$tmp
# Add Branch
-prop=$prop' "git.branch" : '
+prop=$prop' "Git-Branch" : '
tmp='"'$(git rev-parse --abbrev-ref HEAD)'",'$CR
prop=$prop$tmp
#Add commit-id
-prop=$prop' "git.commit.id.full" : '
+prop=$prop' "Git-Commit-Id-Full" : '
ID=$(git rev-parse HEAD)
tmp='"'$ID'",'$CR
prop=$prop$tmp
#Add timestamp
-prop=$prop' "git.commit.time" : '
+prop=$prop' "Git-Commit-Time" : '
tmp='"'$(git show --no-patch --no-notes --pretty='%cI' $ID)'",'$CR
prop=$prop$tmp
#Add user email
-prop=$prop' "git-commit-user-email" : '
+prop=$prop' "Git-Commit-User-Email" : '
tmp='"'$(git show --no-patch --no-notes --pretty='%ce' $ID)'", '$CR
prop=$prop$tmp
#Add Tag
-prop=$prop' "git.commit.tag" : '
+prop=$prop' "Git-Commit-Tag" : '
tmp='"'$Tag'", '$CR
prop=$prop$tmp
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org