Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build tags: #5 #6

Merged
merged 8 commits into from
Feb 9, 2016
Merged

Build tags: #5 #6

merged 8 commits into from
Feb 9, 2016

Conversation

acvetkov
Copy link
Owner

@acvetkov acvetkov commented Feb 8, 2016

@acvetkov acvetkov self-assigned this Feb 8, 2016
assertTagsArgument(tags);
const arrTags = normalizeTags(tags);
return arrTags.reduce((result, tag) => {
result.tag.push({name: tag});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe better result.tags ?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's teamcity Api requirement.
We must post structure

{
  "count": 2,
  "tag": [
    {"name": "tag1"},
    {"name": "tag2"}
  ]
}

@vitalets
Copy link
Collaborator

vitalets commented Feb 8, 2016

👍

acvetkov added a commit that referenced this pull request Feb 9, 2016
@acvetkov acvetkov merged commit b105ca6 into master Feb 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants