-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: create snap beta for native segwit by default
This commit aims to create beta snap packages to allow testing experimental features like native segwit. This commit also updates Fsdk inside our scripts because the `GatherOrGetDefaultPrefix` function in the previous version did not allow additional arguments beside --prefix. Co-authored-by: Mehrshad <[email protected]>
- Loading branch information
Showing
10 changed files
with
144 additions
and
16 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
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
Submodule fsx
updated
7 files
+1 −0 | Fsdk.Tests/Fsdk.Tests-legacy.fsproj | |
+29 −8 | Fsdk/Misc.fs | |
+7 −6 | fsx/Program.fs | |
+60 −7 | fsxc/Fsxc.fs | |
+0 −13 | scripts/fsx-legacy.bat | |
+11 −13 | scripts/make.fsx | |
+17 −2 | scripts/runTests.fsx |
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
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,32 @@ | ||
#!/usr/bin/env fsharpi | ||
|
||
open System | ||
open System.IO | ||
|
||
#if !LEGACY_FRAMEWORK | ||
#r "nuget: Fsdk, Version=0.6.0--date20231031-0834.git-2737eea" | ||
#else | ||
#r "System.Configuration" | ||
open System.Configuration | ||
|
||
#load "fsx/Fsdk/Misc.fs" | ||
#load "fsx/Fsdk/Process.fs" | ||
#load "fsx/Fsdk/Git.fs" | ||
#endif | ||
open Fsdk | ||
open Fsdk.Process | ||
|
||
#load "fsxHelper.fs" | ||
open GWallet.Scripting | ||
|
||
let currentVersion = Misc.GetCurrentVersion(FsxHelper.RootDir) | ||
|
||
let newVersion = | ||
Version(currentVersion.Major, currentVersion.Minor + 2, currentVersion.Build + 1, currentVersion.Revision).ToString() | ||
|
||
Process.Execute( | ||
{ | ||
Command = "dotnet" | ||
Arguments = sprintf "fsi %s %s --auto" (Path.Combine(FsxHelper.ScriptsDir.FullName, "bump.fsx")) newVersion | ||
}, Echo.All | ||
).UnwrapDefault() |> ignore<string> |
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