diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2574f9d..2a66342 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,12 +68,12 @@ jobs: name: 'reportportal.io' email: 'support@reportportal.io' token: ${{ secrets.GITHUB_TOKEN }} - - - name: Tagging new version - id: newVersionTag - run: | - git tag -a ${{ env.RELEASE_VERSION }} -m "Release ${{ env.RELEASE_VERSION }}" - git push --tags +# +# - name: Tagging new version +# id: newVersionTag +# run: | +# git tag -a ${{ env.RELEASE_VERSION }} -m "Release ${{ env.RELEASE_VERSION }}" +# git push --tags - name: Checkout develop branch uses: actions/checkout@v4 @@ -108,20 +108,20 @@ jobs: version: ${{ env.RELEASE_VERSION }} path: ./${{ env.CHANGE_LOG_FILE }} - - name: Create Release - id: createRelease - uses: ncipollo/release-action@v1 - with: - tag: ${{ env.RELEASE_VERSION }} - name: Release ${{ env.RELEASE_VERSION }} - body: ${{ steps.readChangelogEntry.outputs.changes }} +# - name: Create Release +# id: createRelease +# uses: ncipollo/release-action@v1 +# with: +# tag: ${{ env.RELEASE_VERSION }} +# name: Release ${{ env.RELEASE_VERSION }} +# body: ${{ steps.readChangelogEntry.outputs.changes }} - name: Update version file id: versionFileUpdate run: | - export CURRENT_VERSION_VALUE=`echo '${{ env.CURRENT_VERSION }}' | sed -E "s/(.*)/${{ env.VERSION_REPLACE_PATTERN }}/"` - export NEXT_VERSION_VALUE=`echo '${{ env.NEXT_VERSION }}' | sed -E "s/(.*)/${{ env.VERSION_REPLACE_PATTERN }}/"` - sed "s/${CURRENT_VERSION_VALUE}/${NEXT_VERSION_VALUE}/g" ${{ env.VERSION_FILE }} > ${{ env.VERSION_FILE }}${{ env.TMP_SUFFIX }} + export CURRENT_VERSION_VALUE=`echo '${{ env.CURRENT_VERSION }}' | sed -E 's/(.*)/${{ env.VERSION_REPLACE_PATTERN }}/'` + export NEXT_VERSION_VALUE=`echo '${{ env.NEXT_VERSION }}' | sed -E 's/(.*)/${{ env.VERSION_REPLACE_PATTERN }}/'` + sed 's/${CURRENT_VERSION_VALUE}/${NEXT_VERSION_VALUE}/g' ${{ env.VERSION_FILE }} > ${{ env.VERSION_FILE }}${{ env.TMP_SUFFIX }} rm ${{ env.VERSION_FILE }} mv ${{ env.VERSION_FILE }}${{ env.TMP_SUFFIX }} ${{ env.VERSION_FILE }} git add ${{ env.VERSION_FILE }} diff --git a/tests/core/test_rp_responses.py b/tests/core/test_rp_responses.py index 3812175..c784108 100644 --- a/tests/core/test_rp_responses.py +++ b/tests/core/test_rp_responses.py @@ -14,6 +14,7 @@ import json from unittest import mock +# noinspection PyPackageRequirements import pytest from reportportal_client.core.rp_responses import AsyncRPResponse, RPResponse