From 157a4d38b1eb7ba4bf83f451c5062f23153a3e23 Mon Sep 17 00:00:00 2001 From: ronnie Date: Wed, 10 Jun 2026 16:44:40 -0400 Subject: [PATCH] Atempent 2 --- .github/workflows/release.yaml | 38 ++++++++++++++++++---------------- GodotHelper/GodotHelper.csproj | 2 +- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index eaf5586..bcd41c7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -65,14 +65,16 @@ jobs: # Use the .NET SDK from global.json in the root of the repository. global-json-file: global.json # Write version to file so .NET will build correct version. + # - name: Write Version to File + # uses: jacobtomlinson/gha-find-replace@v3 + # with: + # find: "0.0.0-devbuild" + # replace: ${{ steps.next-version.outputs.version }} + # regex: false + # include: GodotHelper/GodotHelper.csproj - name: Write Version to File - uses: jacobtomlinson/gha-find-replace@v3 - with: - find: "0.0.0-devbuild" - replace: ${{ steps.next-version.outputs.version }} - regex: false - include: GodotHelper/GodotHelper.csproj - + run: | + sed -i 's/0.0.0-devbuild/${{ steps.next-version.outputs.version }}/g' GodotHelper/GodotHelper.csproj - name: Build working-directory: GodotHelper run: dotnet build -c Release @@ -85,18 +87,18 @@ jobs: echo "Found package: $package" echo "${{ steps.package-path.outputs.package }}" - - name: Create Release - run: | - version="${{ steps.next-version.outputs.version }}" + # - name: Create Release + # run: | + # version="${{ steps.next-version.outputs.version }}" - curl -X POST "http://192.168.1.4:3000/api/packages/Ronnie/GodotHelpers/releases" \ - -H "Authorization: token ${{ secrets.GH_BASIC }}" \ - -H "Content-Type: application/json" \ - -d "{ - \"tag_name\": \"$version\", - \"name\": \"v$version\", - \"body\": \"Auto release $version\" - }" + # curl -X POST "http://192.168.1.4:3000/api/packages/Ronnie/GodotHelpers/releases" \ + # -H "Authorization: token ${{ secrets.GH_BASIC }}" \ + # -H "Content-Type: application/json" \ + # -d "{ + # \"tag_name\": \"$version\", + # \"name\": \"v$version\", + # \"body\": \"Auto release $version\" + # }" - name: Publish to Nuget run: | dotnet nuget push "${{ steps.package-path.outputs.package }}" \ diff --git a/GodotHelper/GodotHelper.csproj b/GodotHelper/GodotHelper.csproj index 8e354e4..cc51b1e 100644 --- a/GodotHelper/GodotHelper.csproj +++ b/GodotHelper/GodotHelper.csproj @@ -13,7 +13,7 @@ portable GodotHelper - 0.0.1 + 0.0.0-devbuild GodotHelper description. © 2024 Ronnie Kisner Ronnie Kisner