Skip to content

Commit

Permalink
Merge pull request #1036 from fabulous-dev/release-2.0
Browse files Browse the repository at this point in the history
Release version 2.2.0
  • Loading branch information
TimLariviere authored Jan 24, 2023
2 parents 530b35c + 4e789ab commit 69d5106
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,26 @@ on:
permissions: write-all

env:
VERSION: 2.2.0
CONFIG: Release
SLN_FILE: Fabulous.sln

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Read last version from CHANGELOG.md
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
validation_level: warn
path: ./CHANGELOG.md
- name: Set nightly version
run: |
NIGHTLY_VERSION=${VERSION}-nightly-${GITHUB_RUN_ID}
NIGHTLY_VERSION=${{ steps.changelog_reader.outputs.version }}-nightly-${GITHUB_RUN_ID}
echo "Nightly version is $NIGHTLY_VERSION"
echo "NIGHTLY_VERSION=$NIGHTLY_VERSION" >> "$GITHUB_ENV"
- name: Checkout sources
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

_No unreleased changes_

## [2.2.0]

### Added
- Enable ViewAdapter to attach to an existing view (https://github.com/fabulous-dev/Fabulous/pull/1026)
- Support for adding modifiers before the body of a CollectionBuilder (https://github.com/fabulous-dev/Fabulous/pull/1035)

## [2.1.1] - 2023-01-14
Expand All @@ -20,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Enable ViewAdapter to attach to an existing view (https://github.com/fabulous-dev/Fabulous/pull/1026)

[unreleased]: https://github.com/fabulous-dev/Fabulous/compare/2.1.1...HEAD
[unreleased]: https://github.com/fabulous-dev/Fabulous/compare/2.2.0...HEAD
[2.2.0]: https://github.com/fabulous-dev/Fabulous/releases/tag/2.2.0
[2.1.1]: https://github.com/fabulous-dev/Fabulous/releases/tag/2.1.1
[2.2.0-preview.1]: https://github.com/fabulous-dev/Fabulous/releases/tag/2.2.0-preview.1
3 changes: 1 addition & 2 deletions src/Fabulous/Runners.fs
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ module ViewAdapters =

let definition = WidgetDefinitionStore.get widget.Key

let _node =
definition.AttachView(widget, treeContext, ValueNone, root)
let _node = definition.AttachView(widget, treeContext, ValueNone, root)

_root <- root

Expand Down

0 comments on commit 69d5106

Please sign in to comment.