Skip to content

Commit 543ae1b

Browse files
committed
Fixed Fusion CLI Package Name
1 parent d9c696e commit 543ae1b

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release
1+
name: 🚀 Release
22

33
on:
44
push:
@@ -11,33 +11,33 @@ jobs:
1111
permissions:
1212
contents: write
1313
steps:
14-
- name: Checkout
14+
- name: 📦 Checkout
1515
uses: actions/checkout@v4
1616
with:
1717
show-progress: false
1818

19-
- name: Install .NET
19+
- name: 🛠 Install .NET
2020
uses: actions/setup-dotnet@v4
2121
with:
2222
dotnet-version: |
2323
8.x
2424
9.x
2525
26-
- name: Get the version
26+
- name: 🏷 Get the version from tag
2727
id: get_version
2828
run: echo "GIT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
2929

30-
- name: Build Packages
30+
- name: 📦 Build NuGet Packages
3131
run: |
3232
./build.sh pack --SemVersion ${{ env.GIT_TAG }} --Configuration Release
3333
34-
- name: Push Packages
34+
- name: 🚀 Push Packages to NuGet
3535
run: |
3636
./build.cmd publish --skip
3737
env:
3838
NuGetApiKey: ${{ secrets.NUGETAPIKEY }}
3939

40-
- name: Get release
40+
- name: 🔎 Get GitHub Release Info
4141
id: get_release
4242
run: |
4343
RELEASE_ID=$(gh api repos/ChilliCream/graphql-platform/releases/tags/${{ env.GIT_TAG }} --jq '.id')
@@ -47,17 +47,17 @@ jobs:
4747
env:
4848
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949

50-
- name: Upload Release Assets
50+
- name: 📤 Upload .nupkg Release Assets
5151
run: |
5252
for file in ./output/packages/*.nupkg; do
53-
echo "Uploading $file"
53+
echo "📤 Uploading $file"
5454
gh release upload ${{ env.GIT_TAG }} "$file" --repo ChilliCream/graphql-platform
5555
done
5656
env:
5757
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858

5959
build-aot:
60-
name: Build AOT Binary
60+
name: 🧱 Build Fusion Tooling
6161
runs-on: ${{ matrix.os }}
6262
needs: release
6363
strategy:
@@ -98,15 +98,15 @@ jobs:
9898
ext: ".exe"
9999

100100
steps:
101-
- name: Checkout
101+
- name: 📦 Checkout
102102
uses: actions/checkout@v4
103103

104-
- name: Install .NET
104+
- name: 🛠 Install .NET
105105
uses: actions/setup-dotnet@v4
106106
with:
107107
dotnet-version: 9.x
108108

109-
- name: Publish AOT binary
109+
- name: 🧩 Publish AOT Binary for ${{ matrix.rid }}
110110
run: |
111111
dotnet publish ./src/HotChocolate/Fusion-vnext/src/Fusion.CommandLine \
112112
-c Release \
@@ -117,12 +117,12 @@ jobs:
117117
-p:TargetFrameworks=NET9.0 \
118118
-o ./publish
119119
120-
- name: Zip the binary
120+
- name: 📦 Zip Binary
121121
run: |
122122
cd publish
123123
zip ../fusion-${{ matrix.rid }}.zip fusion${{ matrix.ext }}
124124
125-
- name: Upload zipped binary to GitHub Release
125+
- name: 📤 Upload Zipped AOT Binary
126126
run: |
127127
gh release upload ${{ github.ref_name }} fusion-${{ matrix.rid }}.zip --repo ${{ github.repository }}
128128
env:

src/HotChocolate/Fusion-vnext/src/Fusion.CommandLine/HotChocolate.Fusion.CommandLine.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<PackAsTool>true</PackAsTool>
77
<PublishAot>false</PublishAot>
88
<RootNamespace>HotChocolate.Fusion</RootNamespace>
9+
<PackageId>HotChocolate.Fusion.CommandLine</PackageId>
910
<ToolCommandName>fusion</ToolCommandName>
1011
</PropertyGroup>
1112

0 commit comments

Comments
 (0)