Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
rm -rf conventions/.git/
- name: Validate current commit (last commit) with commitlint
if: github.event_name == 'push'
run: ./conventions/commitlint.sh --from HEAD~1 --to HEAD --verbose
run: ./conventions/commitlint.sh --last --verbose
- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: ./conventions/commitlint.sh --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
Expand Down
23 changes: 2 additions & 21 deletions scripts/publish.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,28 +72,9 @@ let fullVersion =
baseVersion
| _ -> ()

let nugetPush =
Path.Combine(rootDir.FullName, "Tools", "nugetPush.fsx")
|> FileInfo

// to disable welcome msg, see https://stackoverflow.com/a/70493818/544947
Environment.SetEnvironmentVariable("DOTNET_NOLOGO", "true")

let fullVersion =
Process
.Execute(
{
Command = "dotnet"
Arguments =
sprintf
"fsi %s --output-version %s"
nugetPush.FullName
baseVersion
},
Echo.Off
)
.UnwrapDefault()
.Trim()
Fsdk.Network.GetNugetPrereleaseVersionFromBaseVersion
baseVersion

fullVersion

Expand Down
2 changes: 1 addition & 1 deletion version.config
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BaseVersion=0.6.1
BaseVersion=0.7.99
Loading