Skip to content

Commit

Permalink
Merge pull request #7846 from MonoGame/develop
Browse files Browse the repository at this point in the history
Fix cake script for 3.8.1 auto release
  • Loading branch information
mrhelmut committed Jul 24, 2022
2 parents 7165884 + bc5db33 commit 00cc76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private void ParseVersion()

if (EnvironmentVariable("GITHUB_REPOSITORY") != "MonoGame/MonoGame")
version += "-" + EnvironmentVariable("GITHUB_REPOSITORY_OWNER");
else if (EnvironmentVariable("GITHUB_REF") != "refs/heads/master")
else if (EnvironmentVariable("GITHUB_REF_TYPE") == "branch" && EnvironmentVariable("GITHUB_REF") != "refs/heads/master")
version += "-develop";

repositoryUrl = "https://github.com/" + EnvironmentVariable("GITHUB_REPOSITORY");
Expand Down

0 comments on commit 00cc76f

Please sign in to comment.