Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
knocte committed Nov 22, 2023
1 parent b926411 commit 3995f62
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ In the development side of things, we advocate for simplicity:
This list is the (intended) order of preference for new features:

- Migration from Xamarin.Forms to MAUI (in progress, see the PR#199 or its successor).
- Switch from SegWit to native-SegWit (Bech32): PR#211.
- Make native-SegWit (Bech32) be default for bitcoin (right now this is the case for the beta version of our snap package).
- Support for payment-channels & state-channels (in BTC/LTC via lightning, see 'lightning' branch; and in ETH/ETC/DAI via Connext?).
- Automatic reminders for Seed/password checks to make sure user has not forgotten them (see https://twitter.com/takinbo/status/1201529679519330305 ).
- NFC support.
Expand Down
8 changes: 2 additions & 6 deletions scripts/bump.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ let IsStable miniVersion =

let args = Misc.FsxOnlyArguments()

let isAuto =
if args |> List.contains "--auto" then
true
else
false
let isAuto = List.contains "--auto" args

let suppliedVersion =
if args.Length > 0 then
Expand All @@ -36,7 +32,7 @@ let suppliedVersion =
failwith "Unreachable"
else
let full = Version(args.Head)
if not (IsStable full.Build) then
if (not isAuto) && not (IsStable full.Build) then
Console.Error.WriteLine "Mini-version (previous-to-last number, e.g. 2 in 0.1.2.3) should be an even (stable) number"
Environment.Exit 2
failwith "Unreachable"
Expand Down
3 changes: 2 additions & 1 deletion scripts/snap_bump.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ open GWallet.Scripting
let currentVersion = Misc.GetCurrentVersion(FsxHelper.RootDir)

let newVersion =
Version(currentVersion.Major, currentVersion.Minor + 2, currentVersion.Build + 1, currentVersion.Revision).ToString()
// to bump from 0.5.x.y to 0.7.x.y
Version(currentVersion.Major, currentVersion.Minor + 2, currentVersion.Build, currentVersion.Revision).ToString()

Process.Execute(
{
Expand Down

0 comments on commit 3995f62

Please sign in to comment.