mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
Release from branch workflow fix (#4740)
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user