chore: why so hard

This commit is contained in:
Stevan Freeborn
2026-03-30 16:51:14 -05:00
parent a5672289bc
commit a88ac4a469
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
dotnet-version: 10.0.x dotnet-version: 10.0.x
- name: Determine version - name: Determine version
id: version id: version
run: ./scripts/determine-version.sh main | tee -a $GITHUB_OUTPUT run: ./scripts/determine-version.sh main
- name: Update version in csproj - name: Update version in csproj
if: steps.version.outputs.VERSION if: steps.version.outputs.VERSION
run: ./scripts/update-version.sh "${{ steps.version.outputs.VERSION }}" run: ./scripts/update-version.sh "${{ steps.version.outputs.VERSION }}"
+3 -4
View File
@@ -54,13 +54,12 @@ fi
if [[ "$majorNew" -eq "$majorCurrent" ]] && [[ "$minorNew" -eq "$minorCurrent" ]] && [[ "$patchNew" -eq "$patchCurrent" ]]; then if [[ "$majorNew" -eq "$majorCurrent" ]] && [[ "$minorNew" -eq "$minorCurrent" ]] && [[ "$patchNew" -eq "$patchCurrent" ]]; then
if [[ "$hasExistingTag" == "false" ]]; then if [[ "$hasExistingTag" == "false" ]]; then
version="0.0.0" version="0.0.0"
echo "VERSION=$version" echo "VERSION=$version" >> "$GITHUB_OUTPUT"
echo "::notice::First release: publishing version 0.0.0" echo "First release: publishing version 0.0.0"
else else
echo "::notice::No version bump needed, skipping release"
exit 0 exit 0
fi fi
else else
version="$majorNew.$minorNew.$patchNew" version="$majorNew.$minorNew.$patchNew"
echo "VERSION=$version" echo "VERSION=$version" >> "$GITHUB_OUTPUT"
fi fi