Skip to content

Commit 353b30e

Browse files
committed
Add more information to release process docs
1 parent 1d867c9 commit 353b30e

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

Build.fs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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

9998
Target.create "Release" ignore

CONTRIBUTING.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ Pre-requisites:
2727

2828
Steps:
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.
3234
1. Run `dotnet run --project Build.fsproj -- release`
35+
36+
This will release the nuget package and commit and push the release notes to master.

0 commit comments

Comments
 (0)