Skip to content

Commit c6d7287

Browse files
committed
Release v1.1.0
1 parent 8aaacc3 commit c6d7287

2 files changed

Lines changed: 49 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish to NuGet
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Setup .NET
17+
uses: actions/setup-dotnet@v4
18+
with:
19+
dotnet-version: '9.0.x'
20+
21+
- name: Restore dependencies
22+
run: dotnet restore
23+
24+
- name: Run tests
25+
run: dotnet test --configuration Release --no-restore
26+
27+
- name: Pack
28+
run: dotnet pack ./Cypher.ScriptGenerator/Cypher.ScriptGenerator.csproj --configuration Release --no-restore
29+
30+
- name: Publish to NuGet
31+
run: dotnet nuget push ./Cypher.ScriptGenerator/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate

Cypher.ScriptGenerator/Cypher.ScriptGenerator.csproj

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,29 @@
55
<Authors>Igor Rozani</Authors>
66
<Company>IgorSoft</Company>
77
<PackageId>Cypher.ScriptGenerator</PackageId>
8-
<Version>1.0.1</Version>
8+
<Version>1.1.0</Version>
99
<Description>A script generator for cypher</Description>
1010
<PackageProjectUrl>https://igorrozani.github.io/Cypher.ScriptGenerator/</PackageProjectUrl>
1111
<RepositoryUrl>https://github.com/IgorRozani/Cypher.ScriptGenerator</RepositoryUrl>
1212
<PackageTags>cypher, neo4j</PackageTags>
1313
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
14+
<PackageReleaseNotes>
15+
## v1.1.0
16+
17+
### New Features
18+
- MERGE support for nodes and relationships, including ON CREATE SET and ON MATCH SET clauses
19+
- DELETE support for nodes and relationships
20+
- UNWIND generator for batch MERGE operations on nodes and relationships
21+
- Index generator: CREATE/DROP INDEX on nodes and relationships
22+
- Constraint generator: UNIQUE, NODE KEY, and NOT NULL constraints
23+
24+
### Breaking Changes
25+
- Renamed Node1/Node2 to NodeLeft/NodeRight in relationship models
26+
- Renamed NodeId1/NodeId2 to NodeIdLeft/NodeIdRight in relationship models
27+
28+
### Other
29+
- Target framework updated to .NET 9.0
30+
</PackageReleaseNotes>
1431
</PropertyGroup>
1532

1633
</Project>

0 commit comments

Comments
 (0)