MCPcopy
hub / github.com/semantic-release/semantic-release / gitAddNote

Function gitAddNote

test/helpers/git-utils.js:317–319  ·  view source on GitHub ↗
(note, ref, execaOptions)

Source from the content-addressed store, hash-verified

315 * @param {Object} [execaOpts] Options to pass to `execa`.
316 */
317export async function gitAddNote(note, ref, execaOptions) {
318 await execa("git", ["notes", "--ref", `${GIT_NOTE_REF}-${ref}`, "add", "-m", note, ref], execaOptions);
319}
320
321/**
322 * Push all notes refs to the remote repository.

Callers 4

addChannelMacroFunction · 0.90
git.test.jsFile · 0.90
get-tags.test.jsFile · 0.90

Calls

no outgoing calls

Tested by 1

addChannelMacroFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…