A cli tool to upload an artifact to a tangled repo, mainly during spindle workflows
ci artifact spindle

Major

+4 -1
+4 -1
.tangled/workflows/next-tag.yml
··· 22 22 printf $SSH_KEY >> $HOME/.ssh/privkey 23 23 echo "-----END OPENSSH PRIVATE KEY-----" >> $HOME/.ssh/privkey 24 24 chmod 600 $HOME/.ssh/privkey 25 + export GIT_SSH_COMMAND="ssh -i $HOME/.ssh/privkey -o IdentitiesOnly=yes" 26 + 25 27 26 28 - name: Setup SSH repo 27 29 command: | ··· 29 31 git config --global user.name "Evann Regnault" 30 32 git fetch 31 33 git checkout main 34 + git pull --tags 32 35 URL=$(git remote get-url origin) 33 36 REPO=${URL#*//*/} 34 37 git remote set-url origin "git@tangled.org:"$REPO ··· 58 61 environment: 59 62 60 63 command: | 61 - export GIT_SSH_COMMAND="ssh -i $HOME/.ssh/privkey -o IdentitiesOnly=yes" 64 + echo $GIT_SSH_COMMAND 62 65 if [ -f "tag" ]; then 63 66 TAG=$(cat tag) 64 67 git tag -a $TAG -m "Release $TAG"