diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 6ba5a02..d863e2d 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -21,7 +21,7 @@ jobs: uses: montudor/action-zip@v1 - name: Build - run: dotnet build ./src/RekhtaDownloader/RekhtaDownloader.csproj --configuration Release -p:Version=1.0.1.${{ github.run_number }} + run: dotnet build ./src/RekhtaDownloader/RekhtaDownloader.csproj --configuration Release -p:Version=1.1.${{ github.run_number }} - name: Publish run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}} @@ -31,14 +31,14 @@ jobs: - name: Zip win-x64 artifacts working-directory: ./src/RekhtaDownloader.Console/bin/Release/net8.0/win-x64/publish - run: zip -qq -r release-win-x64-1.0.1.${{ github.run_number }}.zip . + run: zip -qq -r release-win-x64-1.1.${{ github.run_number }}.zip . - name: Publish win-x86 App run: dotnet publish ./src/RekhtaDownloader.Console/RekhtaDownloader.Console.csproj -r win-x86 -c Release --self-contained - name: Zip win-x86 artifacts working-directory: ./src/RekhtaDownloader.Console/bin/Release/net8.0/win-x86/publish - run: zip -qq -r release-win-x86-1.0.1.${{ github.run_number }}.zip . + run: zip -qq -r release-win-x86-1.1.${{ github.run_number }}.zip . - name: Create Release uses: actions/create-release@v1 @@ -46,8 +46,8 @@ jobs: with: draft: false prerelease: false - release_name: 1.0.1.${{ github.run_number }} - tag_name: 1.0.1.${{ github.run_number }} + release_name: 1.1.${{ github.run_number }} + tag_name: 1.1.${{ github.run_number }} env: GITHUB_TOKEN: ${{ github.token }} @@ -57,8 +57,8 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./src/RekhtaDownloader.Console/bin/Release/net8.0/win-x64/publish/release-win-x64-1.0.1.${{ github.run_number }}.zip - asset_name: release-win-x64-1.0.1.${{ github.run_number }}.zip + asset_path: ./src/RekhtaDownloader.Console/bin/Release/net8.0/win-x64/publish/release-win-x64-1.1.${{ github.run_number }}.zip + asset_name: release-win-x64-1.1.${{ github.run_number }}.zip asset_content_type: application/zip - name: Upload windows x86 artifact @@ -67,6 +67,6 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./src/RekhtaDownloader.Console/bin/Release/net8.0/win-x86/publish/release-win-x86-1.0.1.${{ github.run_number }}.zip - asset_name: release-win-x86-1.0.1.${{ github.run_number }}.zip + asset_path: ./src/RekhtaDownloader.Console/bin/Release/net8.0/win-x86/publish/release-win-x86-1.1.${{ github.run_number }}.zip + asset_name: release-win-x86-1.1.${{ github.run_number }}.zip asset_content_type: application/zip