Why Nostr? What is Njump?
2024-07-03 00:48:49

npub1my…vv3q9 on Nostr: commit ed67f4b4d5af59d4409b56f94a3fddc34c2006b9 Author: randymcmillan ...

commit ed67f4b4d5af59d4409b56f94a3fddc34c2006b9
Author: randymcmillan <[email protected]>
Date: Tue Jul 2 18:40:10 2024 -0400

template/gnostr-syndicate:PARENT_ID

diff --git a/template/gnostr-syndicate b/template/gnostr-syndicate
index cb11a2768..0d52e60e3 100755
--- a/template/gnostr-syndicate
+++ b/template/gnostr-syndicate
@@ -89,9 +89,12 @@ echo padded_commit_hash=$padded_commit_hash
export NEW_COUNT=$new_count
#n=`printf '%064s' "$(git rev-parse HEAD~$count)"`
#echo $n
+PARENT_ID=$(gnostr --sec $padded_parent_hash | gnostr-xq .pubkey)
ID=$(gnostr --sec $padded_commit_hash | gnostr-xq .pubkey)
+PARENT_ID=${PARENT_ID//\"/}
ID=${ID//\"/}
-#echo $ID
+echo PARENT_ID=$PARENT_ID
+echo ID=$ID
gnostr --sec $padded_commit_hash \
--pow $POW \
--tag repo $REPO \
Author Public Key
npub1myw9xv3rgagtgl4hfy23qwqme75g3u25vgak8ax2ngjs23dzt38qvvv3q9