diff --git a/.github/workflows/deb-packaging.yml b/.github/workflows/deb-packaging.yml index 6e4f7f2..3964d39 100644 --- a/.github/workflows/deb-packaging.yml +++ b/.github/workflows/deb-packaging.yml @@ -15,24 +15,17 @@ jobs: - uses: actions/checkout@v2 - name: Parse version - run: echo "VERSION=$(grep '' Source/MQTTnet.Server/MQTTnet.Server.csproj | grep '[0-9\.]+' -o)" >> $GITHUB_ENV + run: echo "VERSION=$(grep \ Source/MQTTnet.Server/MQTTnet.Server.csproj | grep [0-9\.]+ -o)" >> $GITHUB_ENV - name: Validate version run: | - echo "ls -la Source/MQTTnet.Server" - ls -la Source/MQTTnet.Server - echo "ls -la Source/MQTTnet.Server/MQTTnet.Server.csproj" - ls -la Source/MQTTnet.Server/MQTTnet.Server.csproj - echo "ls-la" - ls -la echo "echo ${{ env.VERSION }}" echo ${{ env.VERSION }} echo "echo $VERSION" echo $VERSION echo "$VERSION" - cat Source/MQTTnet.Server/MQTTnet.Server.csproj echo "grep" - grep '' Source/MQTTnet.Server/MQTTnet.Server.csproj | grep '[0-9\.]+' -o + grep \\ Source/MQTTnet.Server/MQTTnet.Server.csproj | grep [0-9\.]+ -o - name: Build MQTTnetServer run: dotnet publish Source/MQTTnet.Server/MQTTnet.Server.csproj --configuration Release --self-contained --runtime linux-x64 --framework net5.0