Hello,
In a need to create only draft releases (without existing tag, as it will be created after publishing it), I would like to ask if it is possible to support given sha instead of only tags.
It would be possible by changing
const tagsRaw = await gh.graphql(`
query lastTags ($owner: String!, $repo: String!) {
repository (owner: $owner, name: $repo) {
refs(first: 2, refPrefix: "refs/tags/", orderBy: { field: TAG_COMMIT_DATE, direction: DESC }) {
using after and refPrefix conditionally
Hello,
In a need to create only draft releases (without existing tag, as it will be created after publishing it), I would like to ask if it is possible to support given sha instead of only tags.
It would be possible by changing
using
afterandrefPrefixconditionally