Skip to content

Commit 181d7fc

Browse files
authored
Release from branch workflow fix (#4740)
1 parent 91db692 commit 181d7fc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/actions/update-library-versions/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ runs:
1717
run: |
1818
VERSION_IN_PACKAGE_JSON=$(jq -cr '.version' < package.json)
1919
20-
if [[ ${{ inputs.branch_name }} =~ ^master.*?$ ]] ; then
20+
if [[ ${{ inputs.branch_name }} =~ ^master.*?$ ]] || [[ "${{ inputs.branch_name }}" == release/* ]] ; then
2121
NEW_LIBRARY_VERSION="$VERSION_IN_PACKAGE_JSON"
2222
else
2323
NEW_LIBRARY_VERSION="${VERSION_IN_PACKAGE_JSON}-${{ github.run_id }}"

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ on:
3838
branches:
3939
- master
4040
- develop
41-
- release/**
4241

4342
env:
4443
BASE_URL: ${{ secrets.PIPELINE_ENV_URL }}

0 commit comments

Comments
 (0)