Skip to content

Commit c83236c

Browse files
committed
(;´д`)ゞ
1 parent 7050733 commit c83236c

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/nuget-push-lagrange-proto-codegen.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: Nuget push Lagrange.Proto.CodeGen
1+
name: Nuget push Lagrange.Proto.Generator
22

33
on:
44
push:
55
branches:
66
- main
77
paths:
8-
- "Lagrange.Proto.CodeGen/Lagrange.Proto.CodeGen.csproj"
8+
- "Lagrange.Proto.Generator/Lagrange.Proto.Generator.csproj"
99
workflow_dispatch:
1010

1111
jobs:
@@ -18,11 +18,11 @@ jobs:
1818
# Check Version
1919
- shell: pwsh
2020
run: |
21-
$lversion = ([xml](Get-Content .\Lagrange.Proto.CodeGen\Lagrange.Proto.CodeGen.csproj)).Project.PropertyGroup.Version
21+
$lversion = ([xml](Get-Content .\Lagrange.Proto.Generator\Lagrange.Proto.Generator.csproj)).Project.PropertyGroup.Version
2222
echo "Local version: $lversion"
2323
2424
try {
25-
$response = Invoke-WebRequest -Uri "https://api.nuget.org/v3-flatcontainer/lagrange.proto.codegen/index.json"
25+
$response = Invoke-WebRequest -Uri "https://api.nuget.org/v3-flatcontainer/lagrange.proto.generator/index.json"
2626
} catch {
2727
if ($_.Exception.Response.StatusCode.value__ -eq 404) {
2828
echo "No remote version"
@@ -51,7 +51,7 @@ jobs:
5151
dotnet-version: '9'
5252

5353
- if: env.continued == 'true'
54-
run: dotnet pack -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg Lagrange.Proto.CodeGen
54+
run: dotnet pack -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg Lagrange.Proto.Generator
5555

5656
- if: env.continued == 'true'
57-
run: dotnet nuget push ./Lagrange.Proto.CodeGen/bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_TOKEN }}
57+
run: dotnet nuget push ./Lagrange.Proto.Generator/bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_TOKEN }}

Lagrange.Proto.CodeGen/Lagrange.Proto.CodeGen.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
<TrimMode>full</TrimMode>
1010
<PublishSingleFile>true</PublishSingleFile>
1111
<PublishTrimmed>true</PublishTrimmed>
12-
13-
<Version>1.0.0</Version>
1412
</PropertyGroup>
1513

1614
<ItemGroup>

Lagrange.Proto.Generator/Lagrange.Proto.Generator.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
<NoWarn>CS1574</NoWarn>
1919
<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
2020
<Description>Source Generator for Lagrange.Proto</Description>
21-
<Version>1.0.2</Version>
2221
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
2322
<PackageReadmeFile>README.md</PackageReadmeFile>
23+
24+
<Version>1.0.3</Version>
2425
</PropertyGroup>
2526

2627
<ItemGroup>

0 commit comments

Comments
 (0)