forked from Nethereum/Nethereum
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* GitHubCI: add metapackage push Following: https://danielwertheim.se/how-to-create-a-nuget-metapackage/ Co-authored-by: Mehrshad <[email protected]> * GithubCI: use nugetPreRelease.fsx to get version * GithubCI: publish package on nuget * GithubCI: add conditions for "Push" step Check for presence of secrets.NUGET_API_KEY is made in script itself, because Github actions don't have access to secrets context in if statements (see [1]). [1] https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
- Loading branch information
1 parent
23f50de
commit fc1b47d
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#r "nuget: Fsdk, Version=0.6.0--date20231213-0703.git-d7a5962" | ||
|
||
let args = fsi.CommandLineArgs | ||
|
||
Fsdk.Network.GetNugetPrereleaseVersionFromBaseVersion args.[1] | ||
|> System.Console.WriteLine |