Atempent 2
All checks were successful
Spellcheck / Spellcheck (push) Successful in 15s
Tests / Evaluate Tests on ubuntu-latest (push) Successful in 1m2s

This commit is contained in:
2026-06-10 16:44:40 -04:00
parent ceb4b81b36
commit 157a4d38b1
2 changed files with 21 additions and 19 deletions

View File

@@ -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 }}" \

View File

@@ -13,7 +13,7 @@
<DebugType>portable</DebugType>
<Title>GodotHelper</Title>
<Version>0.0.1</Version>
<Version>0.0.0-devbuild</Version>
<Description>GodotHelper description.</Description>
<Copyright>© 2024 Ronnie Kisner</Copyright>
<Authors>Ronnie Kisner</Authors>