cake-contrib / cake-contrib/Cake.Recipe

Tag name in Azure Pipelines

Open
#490 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
70
Forks
51
PR merge metrics
No merged PRs in 30d

Description

Seems like the branch name returned by `tfBuild.Environment.Repository.Branch` in https://github.com/cake-contrib/Cake.Recipe/blob/faabbf5f717786e7592a12fa72be213f6d7457b8/Cake.Recipe/Content/azurepipelines.cake#L11 is not prepended with `refs/tags/`...

I tried printing it:
![image](https://user-images.githubusercontent.com/4453664/67954794-7ac4f700-fc2c-11e9-9c2c-6fe3ca5a2d15.png)
It only returns the tag name.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in Cake.Recipe/Content/azurepipelines.cake at the reference to tfBuild.Environment.Repository.Branch on line 11. Reproduce or inspect Azure Pipelines tag builds to confirm the returned value lacks the refs/tags/ prefix, then verify the recipe handles tag names as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.