File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ Target.create "Push" (fun _ ->
8080 let args = $" push %s {nupkgPath} --url https://www.nuget.org"
8181 run " dotnet" $" paket push %s {nupkgPath} --url https://www.nuget.org" " ."
8282
83- let remoteGit = " upstream"
8483 let commitMsg = sprintf " Bumping version to %O " release.NugetVersion
8584 let tagName = string release.NugetVersion
8685
@@ -90,10 +89,10 @@ Target.create "Push" (fun _ ->
9089
9190 Git.Staging.stageAll " "
9291 Git.Commit.exec " " commitMsg
93- Git.Branches.pushBranch " " remoteGit " master"
92+ Git.Branches.pushBranch " " " origin " " master"
9493
9594 Git.Branches.tag " " tagName
96- Git.Branches.pushTag " " remoteGit tagName
95+ Git.Branches.pushTag " " " origin " tagName
9796)
9897
9998Target.create " Release" ignore
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ Pre-requisites:
2727
2828Steps:
2929
30- 1 . Add an entry to ` RELEASE_NOTES.md ` with the new version, date and release notes
31- 1 . Set the ` NUGET_KEY ` env var
30+ 1 . Check out the repo at latest ` master ` commit with the official SAFE-Template repo as the ` origin ` remote.
31+ 1 . Ensure you have no other local changes.
32+ 1 . Add an entry (without committing) to ` RELEASE_NOTES.md ` with the new version, date and release notes.
33+ 1 . Set the ` NUGET_KEY ` env var.
32341 . Run ` dotnet run --project Build.fsproj -- release `
35+
36+ This will release the nuget package and commit and push the release notes to master.
You can’t perform that action at this time.
0 commit comments