Ah, to get say alpha.2, i would tag it as 2.0.0-alpha.2

Sent from my Windows Phone
________________________________
From: Andreas Öhlund<mailto:notifications@github.com>
Sent: ‎5/‎10/‎2014 7:12 PM
To: Particular/GitVersion<mailto:GitVersion@noreply.github.com>
Cc: Jake Ginnivan<mailto:jake@ginnivan.net>
Subject: Re: [GitVersion] Create pre-release package with tag based on branch name in GitHubFlow (#155)


In AcceptanceTests/GitHubFlow/OtherBranchTests.cs:

> +    using LibGit2Sharp;
> +    using Shouldly;
> +    using Xunit;
> +
> +    public class OtherBranchTests
> +    {
> +        [Fact]
> +        public void CanTakeVersionFromReleaseBranch()
> +        {
> +            using (var fixture = new EmptyRepositoryFixture())
> +            {
> +                const string TaggedVersion = "1.0.3";
> +                fixture.Repository.MakeATaggedCommit(TaggedVersion);
> +                fixture.Repository.MakeCommits(5);
> +                fixture.Repository.CreateBranch("alpha-2.0.0");
> +                fixture.Repository.Checkout("alpha-2.0.0");


For branches yes, tags are should be "semver compliant" imo?

—
Reply to this email directly or view it on GitHub<https://github.com/Particular/GitVersion/pull/155/files#r12505400>.