diff --git a/.github/actions/update-library-versions/action.yml b/.github/actions/update-library-versions/action.yml index 0f277608a..0a8d35880 100644 --- a/.github/actions/update-library-versions/action.yml +++ b/.github/actions/update-library-versions/action.yml @@ -17,7 +17,7 @@ runs: run: | VERSION_IN_PACKAGE_JSON=$(jq -cr '.version' < package.json) - if [[ ${{ inputs.branch_name }} =~ ^master.*?$ ]] ; then + if [[ ${{ inputs.branch_name }} =~ ^master.*?$ ]] || [[ "${{ inputs.branch_name }}" == release/* ]] ; then NEW_LIBRARY_VERSION="$VERSION_IN_PACKAGE_JSON" else NEW_LIBRARY_VERSION="${VERSION_IN_PACKAGE_JSON}-${{ github.run_id }}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 948f5c945..f23b73ee8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,6 @@ on: branches: - master - develop - - release/** env: BASE_URL: ${{ secrets.PIPELINE_ENV_URL }}