ci
All checks were successful
CI / build-test (push) Successful in 37s
Release / pack-and-publish (release) Successful in 40s

This commit is contained in:
2025-12-02 17:50:32 +03:00
parent f74d4034cd
commit 5feeffe6bf

View File

@@ -24,6 +24,12 @@ jobs:
run: | run: |
TAG="${GITHUB_REF_NAME#v}" TAG="${GITHUB_REF_NAME#v}"
echo "PACKAGE_VERSION=$TAG" >> $GITHUB_OUTPUT echo "PACKAGE_VERSION=$TAG" >> $GITHUB_OUTPUT
- name: Replace ProjectReference with PackageReference
run: |
sed -i "s#<ProjectReference Include=\"..\/BotPages.Core\/BotPages.Core.csproj\" />#<PackageReference Include=\"BotPages.Core\" Version=\"${{ steps.version.outputs.PACKAGE_VERSION }}\" />#" BotPages.Telegram/BotPages.Telegram.csproj
sed -i "s#<ProjectReference Include=\"..\/BotPages.Core\/BotPages.Core.csproj\" />#<PackageReference Include=\"BotPages.Core\" Version=\"${{ steps.version.outputs.PACKAGE_VERSION }}\" />#" BotPages/BotPages.csproj
sed -i "s#<ProjectReference Include=\"..\/BotPages.Telegram\/BotPages.Telegram.csproj\" />#<PackageReference Include=\"BotPages.Telegram\" Version=\"${{ steps.version.outputs.PACKAGE_VERSION }}\" />#" BotPages/BotPages.csproj
- name: Build and Pack projects - name: Build and Pack projects
run: | run: |