From dd5ca1ee162bde350e47794b2ca2c075a8ca3f3b Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Tue, 2 Jul 2024 17:26:46 +1000 Subject: [PATCH 01/31] experimenting with release.yml --- .github/workflows/release.yml | 50 +++++++++++++++++------------------ 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ce136ca..3ad31f09 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,49 +3,49 @@ name: Create release on: push: branches: [ master ] + tags: + - "*" workflow_dispatch: env: PACKAGE_PATH: /home/runner/work/Blazor.Diagrams/Blazor.Diagrams/src/Blazor.Diagrams/bin/Release/*.nupkg jobs: - build: + publish-pkg: name: Build - Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - + - name: Extract tag name + id: tag_name + uses: actions/github-script@v3.0.0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + result-encoding: string + script: | + return context.payload.ref.replace(/^refs\/tags\//, ''); + + - name: Checkout + uses: actions/checkout@v3 + - name: Setup dotnet uses: actions/setup-dotnet@v3 with: dotnet-version: | 6.0.x 3.1.x - - # Finds the latest release and increases the version - - name: Get next version - uses: reecetech/version-increment@2023.9.3 - id: version - with: - scheme: semver - increment: patch - - - name: Install version tool - run: dotnet tool install dotnetCampus.TagToVersion -g --version 1.0.11 - - # Writes the new version number to build/Version.props - - name: Set version - run: dotnet TagToVersion -t ${{ steps.version.outputs.version }} - name: Install dependencies run: dotnet restore - # Pacakge is created on build + # Pacakge is created on build - name: Build run: dotnet build --configuration Release - # Upload package as an atrifact to the GitHub action + - name: Create NuGet Packages + run: dotnet pack src --configuration Release /p:CommitID=${{ github.sha }} /p:TagVersion=${{ steps.tag_name.outputs.result }} + + # Upload package as an atrifact to the GitHub action - name: Upload packages uses: actions/upload-artifact@v3 with: @@ -53,9 +53,7 @@ jobs: path: ${{ env.PACKAGE_PATH }} retention-days: 5 - # Create a new release and upload the package to the release - - name: Release - uses: softprops/action-gh-release@v1 - with: - files: ${{ env.PACKAGE_PATH }} - tag_name: ${{ steps.version.outputs.version }} + - name: Publish NuGet Package to NuGet Gallery + run: | + nuget setapikey ${{ secrets.NUGET_API_KEY }} + nuget push bin/WTG.Z.Blazor.Diagrams.${{ steps.tag_name.outputs.result }}.nupkg -Source https://api.nuget.org/v3/index.json From fa33bfe5732bc4f58afdc962028ebcd342c988f2 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 11:21:29 +1000 Subject: [PATCH 02/31] attempting to publish-pkg nuget-pack workflow --- .github/workflows/release.yml | 20 +++++-------- WTG.Z.Blazor.Diagrams.nuspec | 35 ++++++++++++++++++++++ src/Blazor.Diagrams/Blazor.Diagrams.csproj | 1 + 3 files changed, 43 insertions(+), 13 deletions(-) create mode 100644 WTG.Z.Blazor.Diagrams.nuspec diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ad31f09..80fc06fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,9 @@ name: Create release + # On push to master branch. i.e. when we merge a PR. on: push: - branches: [ master ] + branches: [ master, VFL/WI00764279/NCN-Diagrams-Move-WTG.Blazor.Diagrams-to-nuget.org ] tags: - "*" workflow_dispatch: @@ -35,15 +36,8 @@ jobs: 6.0.x 3.1.x - - name: Install dependencies - run: dotnet restore - - # Pacakge is created on build - - name: Build - run: dotnet build --configuration Release - - name: Create NuGet Packages - run: dotnet pack src --configuration Release /p:CommitID=${{ github.sha }} /p:TagVersion=${{ steps.tag_name.outputs.result }} + run: dotnet pack --configuration Release /p:CommitID=${{ github.sha }} /p:TagVersion=${{ steps.tag_name.outputs.result }} # Upload package as an atrifact to the GitHub action - name: Upload packages @@ -53,7 +47,7 @@ jobs: path: ${{ env.PACKAGE_PATH }} retention-days: 5 - - name: Publish NuGet Package to NuGet Gallery - run: | - nuget setapikey ${{ secrets.NUGET_API_KEY }} - nuget push bin/WTG.Z.Blazor.Diagrams.${{ steps.tag_name.outputs.result }}.nupkg -Source https://api.nuget.org/v3/index.json + # - name: Publish NuGet Package to NuGet Gallery + # run: | + # nuget setapikey ${{ secrets.NUGET_API_KEY }} + # nuget push bin/WTG.Z.Blazor.Diagrams.${{ steps.tag_name.outputs.result }}.nupkg -Source https://api.nuget.org/v3/index.json diff --git a/WTG.Z.Blazor.Diagrams.nuspec b/WTG.Z.Blazor.Diagrams.nuspec new file mode 100644 index 00000000..43ee2fec --- /dev/null +++ b/WTG.Z.Blazor.Diagrams.nuspec @@ -0,0 +1,35 @@ + + + + WTG.Analyzers + $version$ + $company$ + $company$ + LICENSE + https://github.com/WiseTechGlobal/Blazor.Diagrams + Z.Blazor.Diagrams is a fully customizable and extensible all-purpose diagrams + library for Blazor (both Server Side and WASM). It was first inspired by the popular + React library react-diagrams, but then evolved into something much bigger. ZBD can be + used to make advanced diagrams with a custom design. Even the behavior of the library is + "hackable" and can be changed to suit your needs. + $copyright$ + + + true + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Blazor.Diagrams/Blazor.Diagrams.csproj b/src/Blazor.Diagrams/Blazor.Diagrams.csproj index 25e769c6..493287d0 100644 --- a/src/Blazor.Diagrams/Blazor.Diagrams.csproj +++ b/src/Blazor.Diagrams/Blazor.Diagrams.csproj @@ -15,6 +15,7 @@ README.md True sgKey.snk + ../../WTG.Z.Blazor.Diagrams.nuspec From 467a34749a30aac42eb40ebbe18c84d9688494c7 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 11:36:03 +1000 Subject: [PATCH 03/31] attempting to build first --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80fc06fe..70de59a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,6 +36,12 @@ jobs: 6.0.x 3.1.x + - name: Install dependencies + run: dotnet restore + + - name: Build + run: dotnet build --configuration Release + - name: Create NuGet Packages run: dotnet pack --configuration Release /p:CommitID=${{ github.sha }} /p:TagVersion=${{ steps.tag_name.outputs.result }} From 475b8ad0941d19c8e96a06025f160befaab29aec Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 11:38:37 +1000 Subject: [PATCH 04/31] removed whitespace from build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1accd03d..392ef4ef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ on: jobs: build: name: Build - ${{ matrix.configuration }} - + strategy: matrix: configuration: [ Debug, Release ] @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - + - name: Setup dotnet uses: actions/setup-dotnet@v3 with: From c9904354d5adb46b5d9730587a9595164f6e21ab Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 11:49:49 +1000 Subject: [PATCH 05/31] alternative tag extraction using battila action --- .github/workflows/release.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70de59a8..4bb6d721 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,15 +16,11 @@ jobs: name: Build - Release runs-on: ubuntu-latest + steps: - - name: Extract tag name - id: tag_name - uses: actions/github-script@v3.0.0 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - result-encoding: string - script: | - return context.payload.ref.replace(/^refs\/tags\//, ''); + - name: Extract Version + id: version + uses: battila/get-version-action@v2 - name: Checkout uses: actions/checkout@v3 @@ -43,7 +39,7 @@ jobs: run: dotnet build --configuration Release - name: Create NuGet Packages - run: dotnet pack --configuration Release /p:CommitID=${{ github.sha }} /p:TagVersion=${{ steps.tag_name.outputs.result }} + run: dotnet pack --configuration Release /p:CommitID=${{ github.sha }} /p:TagVersion=${{ steps.version.outputs.version-without-v }} # Upload package as an atrifact to the GitHub action - name: Upload packages From 4392197173639a550fba456b6cf5561ae97fb3f0 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 12:07:26 +1000 Subject: [PATCH 06/31] fixed tag extraction uses action --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4bb6d721..afcc72da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Extract Version id: version - uses: battila/get-version-action@v2 + uses: battila7/get-version-action@v2 - name: Checkout uses: actions/checkout@v3 From 87fe8e32c00a2c4ceb428ab5a38a9ed392775a01 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 12:13:53 +1000 Subject: [PATCH 07/31] printing tags --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afcc72da..cdcdc41c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,9 @@ jobs: id: version uses: battila7/get-version-action@v2 + - run: echo ${{ steps.version.outputs.version }} + - run: echo ${{ steps.version.outputs.version-without-v }} + - name: Checkout uses: actions/checkout@v3 From 72068a7a717fa91c1dfb2affa1d90904f19148e9 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 12:18:20 +1000 Subject: [PATCH 08/31] useing sha for tag for testing --- .github/workflows/release.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cdcdc41c..0e037939 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,12 +18,9 @@ jobs: runs-on: ubuntu-latest steps: - - name: Extract Version - id: version - uses: battila7/get-version-action@v2 - - - run: echo ${{ steps.version.outputs.version }} - - run: echo ${{ steps.version.outputs.version-without-v }} + # - name: Extract Version + # id: version + # uses: battila7/get-version-action@v2 - name: Checkout uses: actions/checkout@v3 @@ -42,7 +39,7 @@ jobs: run: dotnet build --configuration Release - name: Create NuGet Packages - run: dotnet pack --configuration Release /p:CommitID=${{ github.sha }} /p:TagVersion=${{ steps.version.outputs.version-without-v }} + run: dotnet pack --configuration Release /p:CommitID=${{ github.sha }} /p:TagVersion=${{ github.sha }} # Upload package as an atrifact to the GitHub action - name: Upload packages From 16f289831b3c12eb15acc534e6da232d5fceb85a Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 12:34:54 +1000 Subject: [PATCH 09/31] removed build from release --- .github/workflows/release.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e037939..f8c3b33a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,9 +35,6 @@ jobs: - name: Install dependencies run: dotnet restore - - name: Build - run: dotnet build --configuration Release - - name: Create NuGet Packages run: dotnet pack --configuration Release /p:CommitID=${{ github.sha }} /p:TagVersion=${{ github.sha }} From 70c2df8e15115c09574da9fe3e02d5cf9830ecac Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 12:38:05 +1000 Subject: [PATCH 10/31] added back build step include --no-restore and --no-build flags --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f8c3b33a..8ad92c39 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,8 +35,11 @@ jobs: - name: Install dependencies run: dotnet restore + - name: Build + run: dotnet build --no-restore --configuration Release + - name: Create NuGet Packages - run: dotnet pack --configuration Release /p:CommitID=${{ github.sha }} /p:TagVersion=${{ github.sha }} + run: dotnet pack --no-restore --no-build --configuration Release /p:CommitID=${{ github.sha }} /p:TagVersion=${{ github.sha }} # Upload package as an atrifact to the GitHub action - name: Upload packages From 3ff95b11caa0c6d0f45b69f218e25426d282aedf Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 12:46:03 +1000 Subject: [PATCH 11/31] moved nuspec and build files, added targets file --- src/Directory.Build.props | 14 ++++++++++++++ src/Directory.Build.targets | 15 +++++++++++++++ .../WTG.Z.Blazor.Diagrams.nuspec | 0 3 files changed, 29 insertions(+) create mode 100644 src/Directory.Build.targets rename WTG.Z.Blazor.Diagrams.nuspec => src/WTG.Z.Blazor.Diagrams.nuspec (100%) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 5d277ac6..7c399dac 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -4,6 +4,20 @@ enable enable true + + + 3.7.2 + $(TagVersion.Split('-', 2)[0]) + + $(TagVersion.Substring($(ShortVersion.Length))) + + + $(ShortVersion).$(GITHUB_RUN_NUMBER) + $(ShortVersion).0 diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets new file mode 100644 index 00000000..8d4e146f --- /dev/null +++ b/src/Directory.Build.targets @@ -0,0 +1,15 @@ + + + false + + + true + + id=$(PackageId); + version=$(ShortVersion)$(VersionSuffix); + company=$(Company); + copyright=$(Copyright); + commitid=$(CommitID); + + + \ No newline at end of file diff --git a/WTG.Z.Blazor.Diagrams.nuspec b/src/WTG.Z.Blazor.Diagrams.nuspec similarity index 100% rename from WTG.Z.Blazor.Diagrams.nuspec rename to src/WTG.Z.Blazor.Diagrams.nuspec From 56e41c722cb21a902e9ed0262101fa525ff04d89 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 12:49:12 +1000 Subject: [PATCH 12/31] release.yml just packs --- .github/workflows/release.yml | 44 ++++++++------------------------ src/Directory.Build.targets | 15 ----------- src/WTG.Z.Blazor.Diagrams.nuspec | 35 ------------------------- 3 files changed, 10 insertions(+), 84 deletions(-) delete mode 100644 src/Directory.Build.targets delete mode 100644 src/WTG.Z.Blazor.Diagrams.nuspec diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8ad92c39..9b86da48 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: env: - PACKAGE_PATH: /home/runner/work/Blazor.Diagrams/Blazor.Diagrams/src/Blazor.Diagrams/bin/Release/*.nupkg + NUGET_DIR: '${{ github.workspace }}/nuget' jobs: publish-pkg: @@ -18,38 +18,14 @@ jobs: runs-on: ubuntu-latest steps: - # - name: Extract Version - # id: version - # uses: battila7/get-version-action@v2 + - name: Pack Blazor.Diagrams.Core + working-directory: src/Blazor.Diagrams.Core + run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}' - - name: Checkout - uses: actions/checkout@v3 + - name: Pack Blazor.Diagrams + working-directory: src/Blazor.Diagrams + run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}' - - name: Setup dotnet - uses: actions/setup-dotnet@v3 - with: - dotnet-version: | - 6.0.x - 3.1.x - - - name: Install dependencies - run: dotnet restore - - - name: Build - run: dotnet build --no-restore --configuration Release - - - name: Create NuGet Packages - run: dotnet pack --no-restore --no-build --configuration Release /p:CommitID=${{ github.sha }} /p:TagVersion=${{ github.sha }} - - # Upload package as an atrifact to the GitHub action - - name: Upload packages - uses: actions/upload-artifact@v3 - with: - name: package - path: ${{ env.PACKAGE_PATH }} - retention-days: 5 - - # - name: Publish NuGet Package to NuGet Gallery - # run: | - # nuget setapikey ${{ secrets.NUGET_API_KEY }} - # nuget push bin/WTG.Z.Blazor.Diagrams.${{ steps.tag_name.outputs.result }}.nupkg -Source https://api.nuget.org/v3/index.json + - name: Pack Blazor.Diagrams.Algorithms + working-directory: src/Blazor.Diagrams.Algorithms + run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}' diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets deleted file mode 100644 index 8d4e146f..00000000 --- a/src/Directory.Build.targets +++ /dev/null @@ -1,15 +0,0 @@ - - - false - - - true - - id=$(PackageId); - version=$(ShortVersion)$(VersionSuffix); - company=$(Company); - copyright=$(Copyright); - commitid=$(CommitID); - - - \ No newline at end of file diff --git a/src/WTG.Z.Blazor.Diagrams.nuspec b/src/WTG.Z.Blazor.Diagrams.nuspec deleted file mode 100644 index 43ee2fec..00000000 --- a/src/WTG.Z.Blazor.Diagrams.nuspec +++ /dev/null @@ -1,35 +0,0 @@ - - - - WTG.Analyzers - $version$ - $company$ - $company$ - LICENSE - https://github.com/WiseTechGlobal/Blazor.Diagrams - Z.Blazor.Diagrams is a fully customizable and extensible all-purpose diagrams - library for Blazor (both Server Side and WASM). It was first inspired by the popular - React library react-diagrams, but then evolved into something much bigger. ZBD can be - used to make advanced diagrams with a custom design. Even the behavior of the library is - "hackable" and can be changed to suit your needs. - $copyright$ - - - true - - - - - - - - - - - - - - - - \ No newline at end of file From 029cbff36af4cb068a9055c97402f89e6378616b Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 12:52:16 +1000 Subject: [PATCH 13/31] copying build.yml to build --- .github/workflows/release.yml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b86da48..1bff3787 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,14 +18,24 @@ jobs: runs-on: ubuntu-latest steps: - - name: Pack Blazor.Diagrams.Core - working-directory: src/Blazor.Diagrams.Core - run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}' + - uses: actions/checkout@v3 - - name: Pack Blazor.Diagrams - working-directory: src/Blazor.Diagrams - run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}' + - name: Setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 6.0.x + 3.1.x - - name: Pack Blazor.Diagrams.Algorithms - working-directory: src/Blazor.Diagrams.Algorithms - run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}' + - name: Install dependencies + run: dotnet restore + + - name: Build + run: dotnet build --configuration Release + + - name: Upload packages + uses: actions/upload-artifact@v3 + with: + name: package + path: /home/runner/work/Blazor.Diagrams/Blazor.Diagrams/src/Blazor.Diagrams/bin/Release/*.nupkg + retention-days: 5 From 4686bf5cf24e33ba1d6893e7a0e4e09b33a62078 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 13:27:26 +1000 Subject: [PATCH 14/31] removed nuspec reference from blazor.diagram.csproj --- src/Blazor.Diagrams/Blazor.Diagrams.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Blazor.Diagrams/Blazor.Diagrams.csproj b/src/Blazor.Diagrams/Blazor.Diagrams.csproj index 493287d0..1b5bf864 100644 --- a/src/Blazor.Diagrams/Blazor.Diagrams.csproj +++ b/src/Blazor.Diagrams/Blazor.Diagrams.csproj @@ -15,7 +15,7 @@ README.md True sgKey.snk - ../../WTG.Z.Blazor.Diagrams.nuspec + From 03b381931094c479a5d3681436f4aae7b02ee3bb Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 15:20:55 +1000 Subject: [PATCH 15/31] dotnet pack step --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1bff3787..670e1deb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,6 +33,12 @@ jobs: - name: Build run: dotnet build --configuration Release + - name: Pack + run: dotnet nuget pack + + - name: Create NuGet Packages + run: dotnet pack src --configuration Release + - name: Upload packages uses: actions/upload-artifact@v3 with: From 5e9437cd11c853068cf5d4b0d3435a04aafa0708 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 16:18:48 +1000 Subject: [PATCH 16/31] packing seperately --- .github/workflows/release.yml | 30 +++++++++++++--------- src/Blazor.Diagrams/Blazor.Diagrams.csproj | 1 - 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 670e1deb..7fe41c29 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,15 +33,21 @@ jobs: - name: Build run: dotnet build --configuration Release - - name: Pack - run: dotnet nuget pack - - - name: Create NuGet Packages - run: dotnet pack src --configuration Release - - - name: Upload packages - uses: actions/upload-artifact@v3 - with: - name: package - path: /home/runner/work/Blazor.Diagrams/Blazor.Diagrams/src/Blazor.Diagrams/bin/Release/*.nupkg - retention-days: 5 + - name: Pack Blazor.Diagrams.Core + working-directory: src/Blazor.Diagrams.Core + run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}' + + - name: Pack Blazor.Diagrams + working-directory: src/Blazor.Diagrams + run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}' + + - name: Pack Blazor.Diagrams.Algorithms + working-directory: src/Blazor.Diagrams.Algorithms + run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}' + + - name: Push + run: >- + for i in $(find ${{ env.NUGET_DIR }} -type f -name "*.nupkg"); + do + echo "File: ${i} \n"; + done diff --git a/src/Blazor.Diagrams/Blazor.Diagrams.csproj b/src/Blazor.Diagrams/Blazor.Diagrams.csproj index 1b5bf864..25e769c6 100644 --- a/src/Blazor.Diagrams/Blazor.Diagrams.csproj +++ b/src/Blazor.Diagrams/Blazor.Diagrams.csproj @@ -15,7 +15,6 @@ README.md True sgKey.snk - From 1fd8415e1b3aa12b2ffdc504c1fd93ba0c9260ac Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 16:28:03 +1000 Subject: [PATCH 17/31] only packing blazor.diagrams --- .github/workflows/release.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7fe41c29..a4e3a7f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,18 +33,10 @@ jobs: - name: Build run: dotnet build --configuration Release - - name: Pack Blazor.Diagrams.Core - working-directory: src/Blazor.Diagrams.Core - run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}' - - name: Pack Blazor.Diagrams working-directory: src/Blazor.Diagrams run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}' - - name: Pack Blazor.Diagrams.Algorithms - working-directory: src/Blazor.Diagrams.Algorithms - run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}' - - name: Push run: >- for i in $(find ${{ env.NUGET_DIR }} -type f -name "*.nupkg"); From 227fad9bf4a54f0b4c2208ce40fd2ab3305714e3 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 16:34:15 +1000 Subject: [PATCH 18/31] gets version from tag --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a4e3a7f1..38bb7f9c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: push: branches: [ master, VFL/WI00764279/NCN-Diagrams-Move-WTG.Blazor.Diagrams-to-nuget.org ] tags: - - "*" + - "v*" workflow_dispatch: env: @@ -20,6 +20,10 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Get Version + id: version + uses: battila7/get-version-action@v2 + - name: Setup dotnet uses: actions/setup-dotnet@v3 with: @@ -35,7 +39,7 @@ jobs: - name: Pack Blazor.Diagrams working-directory: src/Blazor.Diagrams - run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release --output ${{ env.NUGET_DIR }}' + run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release -p:PackageVersion=${{ steps.version.outputs.version-without-v }} --output ${{ env.NUGET_DIR }}' - name: Push run: >- From 2f6e70ed2609084ffe366fed5c158cdcdc8ea940 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Wed, 3 Jul 2024 16:46:47 +1000 Subject: [PATCH 19/31] testing github ref_name --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38bb7f9c..8f7563ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,11 @@ jobs: runs-on: ubuntu-latest steps: + - name: GitHub Tag Name example + run: | + echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME" + echo "Tag name from github.ref_name: ${{ github.ref_name }}" + - uses: actions/checkout@v3 - name: Get Version @@ -39,7 +44,7 @@ jobs: - name: Pack Blazor.Diagrams working-directory: src/Blazor.Diagrams - run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release -p:PackageVersion=${{ steps.version.outputs.version-without-v }} --output ${{ env.NUGET_DIR }}' + run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release -p:PackageVersion=${{ steps.version.outputs.version-without-v }}--output ${{ env.NUGET_DIR }}' - name: Push run: >- From 4737280c57fba12e4462ed831f70a046c7d61a2c Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Fri, 5 Jul 2024 09:30:59 +1000 Subject: [PATCH 20/31] testing with tags --- .github/workflows/release.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f7563ee..2827790e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,12 +18,8 @@ jobs: runs-on: ubuntu-latest steps: - - name: GitHub Tag Name example - run: | - echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME" - echo "Tag name from github.ref_name: ${{ github.ref_name }}" - - - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v3 - name: Get Version id: version @@ -44,7 +40,7 @@ jobs: - name: Pack Blazor.Diagrams working-directory: src/Blazor.Diagrams - run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release -p:PackageVersion=${{ steps.version.outputs.version-without-v }}--output ${{ env.NUGET_DIR }}' + run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release -p:PackageVersion=${{ steps.version.outputs.version-without-v }} --output ${{ env.NUGET_DIR }}' - name: Push run: >- From 2b7df6aad9ffd88bf83304487a1eb3c91ccc4d8c Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Fri, 5 Jul 2024 09:37:57 +1000 Subject: [PATCH 21/31] testing pushing to nuget --- .github/workflows/release.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2827790e..6d1ec1fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,11 +40,9 @@ jobs: - name: Pack Blazor.Diagrams working-directory: src/Blazor.Diagrams - run: 'dotnet pack -p:GeneratePackageOnBuild=false --configuration Release -p:PackageVersion=${{ steps.version.outputs.version-without-v }} --output ${{ env.NUGET_DIR }}' - - - name: Push - run: >- - for i in $(find ${{ env.NUGET_DIR }} -type f -name "*.nupkg"); - do - echo "File: ${i} \n"; - done + run: 'dotnet pack --no-restore --no-build -p:GeneratePackageOnBuild=false --configuration Release -p:PackageVersion=${{ steps.version.outputs.version-without-v }} --output ${{ env.NUGET_DIR }}' + + - name: Push NuGet Package to NuGet Gallery + run: | + nuget setapikey ${{ secrets.NUGET_API_KEY }} + nuget push bin/WTG.Analyzers.${{ steps.version.outputs.version-without-v }}.nupkg -Source https://api.nuget.org/v3/index.json From e7352b9bd3adccd19c09f78455690b90a9d28961 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Fri, 5 Jul 2024 09:42:21 +1000 Subject: [PATCH 22/31] fixed .nupkg directory --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6d1ec1fa..0d580ecf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,4 +45,4 @@ jobs: - name: Push NuGet Package to NuGet Gallery run: | nuget setapikey ${{ secrets.NUGET_API_KEY }} - nuget push bin/WTG.Analyzers.${{ steps.version.outputs.version-without-v }}.nupkg -Source https://api.nuget.org/v3/index.json + nuget push ${{ env.NUGET_DIR }}/WTG.Z.Blazor.Diagrams.${{ steps.version.outputs.version-without-v }}.nupkg -Source https://api.nuget.org/v3/index.json From 1cf9029a71fddc2d951d440ebf431051eb1567ad Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Fri, 5 Jul 2024 10:03:11 +1000 Subject: [PATCH 23/31] removed this branch from on:push: event --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0d580ecf..124dcd66 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Create release # On push to master branch. i.e. when we merge a PR. on: push: - branches: [ master, VFL/WI00764279/NCN-Diagrams-Move-WTG.Blazor.Diagrams-to-nuget.org ] + branches: [ master ] tags: - "v*" workflow_dispatch: From 9c30c921b5942a8a42c97da0838ba77b83f1a19c Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Fri, 5 Jul 2024 10:26:30 +1000 Subject: [PATCH 24/31] re-added auto-versioning + testing it works --- .github/workflows/release.yml | 87 ++++++++++++++++++++++------------- 1 file changed, 55 insertions(+), 32 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 124dcd66..dfbeaece 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,46 +3,69 @@ name: Create release # On push to master branch. i.e. when we merge a PR. on: push: - branches: [ master ] + branches: [ master, VFL/WI00764279/NCN-Diagrams-Move-WTG.Blazor.Diagrams-to-nuget.org ] tags: - "v*" workflow_dispatch: env: - NUGET_DIR: '${{ github.workspace }}/nuget' + PACKAGE_PATH: /home/runner/work/Blazor.Diagrams/Blazor.Diagrams/src/Blazor.Diagrams/bin/Release/*.nupkg jobs: - publish-pkg: + release: name: Build - Release runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Get Version - id: version - uses: battila7/get-version-action@v2 - - - name: Setup dotnet - uses: actions/setup-dotnet@v3 - with: - dotnet-version: | - 6.0.x - 3.1.x - - - name: Install dependencies - run: dotnet restore - - - name: Build - run: dotnet build --configuration Release - - - name: Pack Blazor.Diagrams - working-directory: src/Blazor.Diagrams - run: 'dotnet pack --no-restore --no-build -p:GeneratePackageOnBuild=false --configuration Release -p:PackageVersion=${{ steps.version.outputs.version-without-v }} --output ${{ env.NUGET_DIR }}' - - - name: Push NuGet Package to NuGet Gallery - run: | - nuget setapikey ${{ secrets.NUGET_API_KEY }} - nuget push ${{ env.NUGET_DIR }}/WTG.Z.Blazor.Diagrams.${{ steps.version.outputs.version-without-v }}.nupkg -Source https://api.nuget.org/v3/index.json + + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 6.0.x + 3.1.x + + # Finds the latest release and increases the version + - name: Get next version + uses: reecetech/version-increment@2023.9.3 + id: version + with: + scheme: semver + increment: patch + + - name: Install version tool + run: dotnet tool install dotnetCampus.TagToVersion -g --version 1.0.11 + + # Writes the new version number to build/Version.props + - name: Set version + run: dotnet TagToVersion -t ${{ steps.version.outputs.version }} + + - name: Install dependencies + run: dotnet restore + + # Pacakge is created on build + - name: Build + run: dotnet build --configuration Release + + # Upload package as an atrifact to the GitHub action + - name: Upload packages + uses: actions/upload-artifact@v3 + with: + name: package + path: ${{ env.PACKAGE_PATH }} + retention-days: 5 + + # Create a new release and upload the package to the release + # - name: Release + # uses: softprops/action-gh-release@v1 + # with: + # files: ${{ env.PACKAGE_PATH }} + # tag_name: ${{ steps.version.outputs.version }} + + # - name: Push NuGet Package to NuGet Gallery + # run: | + # nuget setapikey ${{ secrets.NUGET_API_KEY }} + # nuget push ${{ env.PACKAGE_PATH }} -Source https://api.nuget.org/v3/index.json \ No newline at end of file From 13eb1469c06119cd36d6e3fb43926e57498fd9e6 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Fri, 5 Jul 2024 10:38:23 +1000 Subject: [PATCH 25/31] removed this branch from on:push, ready --- .github/workflows/release.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dfbeaece..7b18e2fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Create release # On push to master branch. i.e. when we merge a PR. on: push: - branches: [ master, VFL/WI00764279/NCN-Diagrams-Move-WTG.Blazor.Diagrams-to-nuget.org ] + branches: [ master ] tags: - "v*" workflow_dispatch: @@ -59,13 +59,13 @@ jobs: retention-days: 5 # Create a new release and upload the package to the release - # - name: Release - # uses: softprops/action-gh-release@v1 - # with: - # files: ${{ env.PACKAGE_PATH }} - # tag_name: ${{ steps.version.outputs.version }} + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: ${{ env.PACKAGE_PATH }} + tag_name: ${{ steps.version.outputs.version }} - # - name: Push NuGet Package to NuGet Gallery - # run: | - # nuget setapikey ${{ secrets.NUGET_API_KEY }} - # nuget push ${{ env.PACKAGE_PATH }} -Source https://api.nuget.org/v3/index.json \ No newline at end of file + - name: Push NuGet Package to NuGet Gallery + run: | + nuget setapikey ${{ secrets.NUGET_API_KEY }} + nuget push ${{ env.PACKAGE_PATH }} -Source https://api.nuget.org/v3/index.json \ No newline at end of file From 4a72b6827ea4e8d45620dc47d57d437dcae9f066 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Fri, 5 Jul 2024 10:40:57 +1000 Subject: [PATCH 26/31] removed tags from workflow on: --- .github/workflows/release.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b18e2fc..d9678d31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,8 +4,6 @@ name: Create release on: push: branches: [ master ] - tags: - - "v*" workflow_dispatch: env: From 227ee25148c1dc4006a6869e699d03abbe92bfa8 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Fri, 5 Jul 2024 10:48:30 +1000 Subject: [PATCH 27/31] removed version data from Directory.Build.props --- src/Directory.Build.props | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 7c399dac..5d277ac6 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -4,20 +4,6 @@ enable enable true - - - 3.7.2 - $(TagVersion.Split('-', 2)[0]) - - $(TagVersion.Substring($(ShortVersion.Length))) - - - $(ShortVersion).$(GITHUB_RUN_NUMBER) - $(ShortVersion).0 From 4275541b5fa83b0ce507585507de9faa41fcc37b Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Fri, 5 Jul 2024 11:48:38 +1000 Subject: [PATCH 28/31] added to readme --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5bfe94af..cda0e4fb 100644 --- a/README.md +++ b/README.md @@ -58,9 +58,16 @@ Repository: https://github.com/Blazor-Diagrams/Blazor.DatabaseDesigner ### Contributing -All kinds of contributions are welcome! +All kinds of contributions are welcome! If you're interested in helping, please create an issue or comment on an existing one to explain what you will be doing. This is because multiple people can be working on the same problem. ## Feedback If you find a bug or you want to see a functionality in this library, feel free to open an issue. + +## Deployment + +This project is hosted on NuGet. Merges to master will trigger a release action that will +- Build WTG.Z.Blazor.Diagrams +- Host this on Github as a release +- Push it to the WTG.Z.Blazor.Diagrams NuGet Gallery From 45f167594bde6ce27a407a51b2e208dbc951219c Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Fri, 5 Jul 2024 11:52:03 +1000 Subject: [PATCH 29/31] updated readme with WTG.Z.Blazor.Diagrams --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cda0e4fb..3fa55751 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,11 @@ ![](ZBD.png) -Z.Blazor.Diagrams is a fully customizable and extensible all-purpose diagrams library for Blazor (both Server Side and WASM). It was first inspired by the popular React library [react-diagrams](https://github.com/projectstorm/react-diagrams), but then evolved into something much bigger. ZBD can be used to make advanced diagrams with a custom design. Even the behavior of the library is "hackable" and can be changed to suit your needs. +WTG.Z.Blazor.Diagrams is a fully customizable and extensible all-purpose diagrams library for Blazor (both Server Side and WASM). It was first inspired by the popular React library [react-diagrams](https://github.com/projectstorm/react-diagrams), but then evolved into something much bigger. ZBD can be used to make advanced diagrams with a custom design. Even the behavior of the library is "hackable" and can be changed to suit your needs. | NuGet Package | Version | Download | | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| Z.Blazor.Diagrams.Core | [![NuGet](https://img.shields.io/nuget/v/Z.Blazor.Diagrams.Core.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams.Core) | [![Nuget](https://img.shields.io/nuget/dt/Z.Blazor.Diagrams.Core.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams.Core) | -| Z.Blazor.Diagrams | [![NuGet](https://img.shields.io/nuget/v/Z.Blazor.Diagrams.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams) | [![Nuget](https://img.shields.io/nuget/dt/Z.Blazor.Diagrams.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams) | -| Z.Blazor.Diagrams.Algorithms | [![NuGet](https://img.shields.io/nuget/v/Z.Blazor.Diagrams.Algorithms.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams.Algorithms) | [![Nuget](https://img.shields.io/nuget/dt/Z.Blazor.Diagrams.Algorithms.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams.Algorithms) | +| WTG.Z.Blazor.Diagrams | [![NuGet](https://img.shields.io/nuget/v/WTG.Z.Blazor.Diagrams.svg)](https://www.nuget.org/packages/WTG.Z.Blazor.Diagrams) | [![Nuget](https://img.shields.io/nuget/dt/WTG.Z.Blazor.Diagrams.svg)](https://www.nuget.org/packages/WTG.Z.Blazor.Diagrams) | | Badges | | | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | From 225b54d3f2e612823c4883fbc388b7cc314a91b0 Mon Sep 17 00:00:00 2001 From: Vinnie Fialok Date: Fri, 5 Jul 2024 14:35:49 +1000 Subject: [PATCH 30/31] updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3fa55751..d0876d83 100644 --- a/README.md +++ b/README.md @@ -67,5 +67,5 @@ If you find a bug or you want to see a functionality in this library, feel free This project is hosted on NuGet. Merges to master will trigger a release action that will - Build WTG.Z.Blazor.Diagrams -- Host this on Github as a release +- Host the package on Github as a release - Push it to the WTG.Z.Blazor.Diagrams NuGet Gallery From 1fe18c6208d0758408eee941e0220c914fcd6d43 Mon Sep 17 00:00:00 2001 From: vinnie-fialok Date: Mon, 8 Jul 2024 09:55:41 +1000 Subject: [PATCH 31/31] updated readment and release.yml --- .github/workflows/release.yml | 6 ++---- README.md | 4 +++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9678d31..1d97c231 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,9 +22,7 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v3 with: - dotnet-version: | - 6.0.x - 3.1.x + dotnet-version: '6.0.x' # Finds the latest release and increases the version - name: Get next version @@ -66,4 +64,4 @@ jobs: - name: Push NuGet Package to NuGet Gallery run: | nuget setapikey ${{ secrets.NUGET_API_KEY }} - nuget push ${{ env.PACKAGE_PATH }} -Source https://api.nuget.org/v3/index.json \ No newline at end of file + nuget push ${{ env.PACKAGE_PATH }} -Source https://api.nuget.org/v3/index.json diff --git a/README.md b/README.md index d0876d83..43b656c5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ ![](ZBD.png) -WTG.Z.Blazor.Diagrams is a fully customizable and extensible all-purpose diagrams library for Blazor (both Server Side and WASM). It was first inspired by the popular React library [react-diagrams](https://github.com/projectstorm/react-diagrams), but then evolved into something much bigger. ZBD can be used to make advanced diagrams with a custom design. Even the behavior of the library is "hackable" and can be changed to suit your needs. +Z.Blazor.Diagrams is a fully customizable and extensible all-purpose diagrams library for Blazor (both Server Side and WASM). It was first inspired by the popular React library [react-diagrams](https://github.com/projectstorm/react-diagrams), but then evolved into something much bigger. ZBD can be used to make advanced diagrams with a custom design. Even the behavior of the library is "hackable" and can be changed to suit your needs. + +WTG.Z.Blazor.Diagarms is a fork of Z.Blazor.Diagrams with new features and bug fixes first targeting WiseTech Global products. | NuGet Package | Version | Download | | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |