mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-08 14:51:14 +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 }}"
|
||||
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -38,7 +38,6 @@ on:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
- release/**
|
||||
|
||||
env:
|
||||
BASE_URL: ${{ secrets.PIPELINE_ENV_URL }}
|
||||
|
Reference in New Issue
Block a user