Skip to content

Commit

Permalink
Update tag.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ecedi-ld authored Jul 3, 2021
1 parent 3eeb345 commit 5f361f6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions app/lib/tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,7 @@ exports.upsertTagDescriptionByProjectIdAndTag = async (projectId, tag, descripti
Logger.debug(`Updating the release note`);
return Gitlab.updateTagReleaseByProjectIdTagNameAndTagId(projectId, tag.name, { description });
} else {
Logger.debug(`Creating a new release note`);
Logger.debug(`projectId`);
Logger.debug(projectId);
Logger.debug(`tag`);
Logger.debug(tag.name);
return Gitlab.createTagReleaseByProjectIdTagNameAndTagId(projectId, tag.name, { description });
Logger.debug(`Creating a new release note by ecedi`);
return Gitlab.createTagReleaseByProjectIdTagNameAndTagId(projectId, tag.name, {'tag_name' : tag.name ,'description': description });
}
};

0 comments on commit 5f361f6

Please sign in to comment.