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
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Once you've done some work on the first branch within the stack, at some point y
- Run `stack branch new`.
- Select the stack to create the branch in.
- Give the branch a name.
- Select the branch to create the new branch from.

The new branch will be created from the branch at the bottom of the stack and the current branch will be changed so you can make more changes.

Expand Down Expand Up @@ -433,7 +434,7 @@ Options:

#### `stack config migrate` <!-- omit from toc -->

Migrate the configuration file from v1 to v2 format (preview).
Migrate the configuration file from v1 to v2 format.

```shell
Usage:
Expand Down
2 changes: 1 addition & 1 deletion src/Stack.Tests/Config/FileStackConfigTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void Load_WhenConfigFileDoesNotExist_ReturnsEmptyList()
var stackData = fileStackConfig.Load();

// Assert
stackData.Should().BeEquivalentTo(new StackData(SchemaVersion.V1, []));
stackData.Should().BeEquivalentTo(new StackData(SchemaVersion.V2, []));
}

[Fact]
Expand Down
2 changes: 1 addition & 1 deletion src/Stack/Config/StackConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public StackData Load()
var stacksFile = GetConfigPath();
if (!File.Exists(stacksFile))
{
return new StackData(SchemaVersion.V1, []);
return new StackData(SchemaVersion.V2, []);
}
var jsonString = File.ReadAllText(stacksFile);

Expand Down
Loading