git-resource icon indicating copy to clipboard operation
git-resource copied to clipboard

only gitnotes pusing without any commit

Open pratikbin opened this issue 4 years ago • 2 comments

  • need gitnotes support for pushing only ref:
    • https://itnext.io/git-notes-your-ci-process-46b2fd5ac52

pratikbin avatar Jun 18 '21 11:06 pratikbin

Ahh, got it. Question can I only add notes without anything else! https://github.com/concourse/git-resource/blob/891c32f1b4b43beca81adff0890b8fea35bcbc0b/assets/out#L113-L118

pratikbin avatar Jun 18 '21 16:06 pratikbin

Yes I Tested

Ahh, got it. Question can I only add notes without anything else!

But can I add git notes to a particular commit? Like add git notes without any other commit. Apparently I found that I need to save change log in git-notes with some other logs and attach that to a particular commit (if possible) or to a last commit.

ref https://itnext.io/git-notes-your-ci-process-46b2fd5ac52

- get master
---
- task: add-git-notes
---
- put: master
  params:
    repository: master
    notes: master/notes

pratikbin avatar Jun 19 '21 13:06 pratikbin