Skip to content

Commit

Permalink
Update slides and code
Browse files Browse the repository at this point in the history
  • Loading branch information
gep13 committed Oct 18, 2023
1 parent 2d82b53 commit a41cc90
Show file tree
Hide file tree
Showing 7 changed files with 257 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"cake.tool": {
"version": "0.38.4",
"version": "3.1.0",
"commands": [
"dotnet-cake"
]
Expand Down
5 changes: 2 additions & 3 deletions build.cake
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#module nuget:?package=Cake.DotNetTool.Module&version=0.4.0
#tool dotnet:?package=GitVersion.Tool&version=5.3.7
#tool dotnet:?package=GitReleaseManager.Tool&version=0.11.0
#tool dotnet:?package=GitVersion.Tool&version=5.12.0
#tool dotnet:?package=GitReleaseManager.Tool&version=0.15.0

var target = Argument("target", "Default");
GitVersion assertedVersions;
Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $DotNetUnixInstallerUri = 'https://dot.net/v1/dotnet-install.sh'
$DotNetChannel = 'LTS'
$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent

[string] $DotNetVersion = '3.1.402'
[string] $DotNetVersion = '6.0.414'

###########################################################################
# INSTALL .NET CORE CLI
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Define varibles
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
DOTNET_VERSION="3.1.402"
DOTNET_VERSION="6.0.414"

###########################################################################
# INSTALL .NET CORE CLI
Expand Down
6 changes: 3 additions & 3 deletions demos/gitreleasemanager.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
* Switch to master branch `git checkout master`
* Run the Cake build script `./build.ps1`
* Show that GitVersion is being run to assert the version number
* Run `./build.ps1 -target CreateReleaseNotes`
* Run `./build.ps1 --target=CreateReleaseNotes`
* Switch back to browser, and refresh releases section
* Show draft release

### Demo 2 - Attaching artifact

* Switch back to browser and show there are no release artifacts
* Run `./build.ps1 -target AttachArtifact`
* Run `./build.ps1 --target=AttachArtifact`
* Switch back to browser and show attachment


### Demo 3 - Close milestone

* In the browser, switch to milestone view, and show that it is still open
* Run `./build.ps1 -target CloseMilestone`
* Run `./build.ps1 --target=CloseMilestone`
* Switch back to browser and show that milestone is now closed
Loading

0 comments on commit a41cc90

Please sign in to comment.