Skip to content

Commit 40222c3

Browse files
committed
ci: fix quotes in version
1 parent cea90c7 commit 40222c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/Build.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class Build : NukeBuild
120120
.TriggeredBy(Publish)
121121
.Requires(() => GhToken)
122122
.Executes(() => Gh.Invoke(
123-
arguments: $"release create '{OctoVersionInfo.FullSemVer}' --generate-notes",
123+
arguments: $"release create {OctoVersionInfo.FullSemVer} --generate-notes",
124124
environmentVariables: EnvironmentInfo.Variables
125125
.ToDictionary(x => x.Key, x => x.Value)
126126
.SetKeyValue("GH_TOKEN", GhToken).AsReadOnly()));
@@ -131,8 +131,8 @@ class Build : NukeBuild
131131
.OnlyWhenStatic(() => !IsPreRelease)
132132
.Executes(() =>
133133
{
134-
Git.Invoke($"tag --force 'v{OctoVersionInfo.Major}.{OctoVersionInfo.Minor}'");
135-
Git.Invoke($"tag --force 'v{OctoVersionInfo.Major}'");
134+
Git.Invoke($"tag --force v{OctoVersionInfo.Major}.{OctoVersionInfo.Minor}");
135+
Git.Invoke($"tag --force v{OctoVersionInfo.Major}");
136136
Git.Invoke("push origin --tags --force");
137137
});
138138
}

0 commit comments

Comments
 (0)