mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-10 14:11:42 +00:00
Release from branch workflow fix
This commit is contained in:
8
.github/workflows/release-branch.yml
vendored
8
.github/workflows/release-branch.yml
vendored
@@ -9,6 +9,11 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
npm-tag:
|
||||||
|
description: 'NPM tag to use for publishing'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: 'branch'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BASE_REF: ${{ github.base_ref }}
|
BASE_REF: ${{ github.base_ref }}
|
||||||
@@ -46,7 +51,7 @@ jobs:
|
|||||||
- name: set TAG_NPM BRANCH
|
- name: set TAG_NPM BRANCH
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
TAG_NPM="branch"
|
TAG_NPM=${{ inputs.npm-tag }}
|
||||||
echo "Set TAG with name: ${TAG_NPM}"
|
echo "Set TAG with name: ${TAG_NPM}"
|
||||||
echo "TAG_NPM=${TAG_NPM}" >> $GITHUB_ENV
|
echo "TAG_NPM=${TAG_NPM}" >> $GITHUB_ENV
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@@ -86,6 +91,7 @@ jobs:
|
|||||||
dry-run-flag: ${{ inputs.dry-run-flag }}
|
dry-run-flag: ${{ inputs.dry-run-flag }}
|
||||||
- uses: ./.github/actions/download-node-modules-and-artifacts
|
- uses: ./.github/actions/download-node-modules-and-artifacts
|
||||||
- name: Set libraries versions
|
- name: Set libraries versions
|
||||||
|
if: ${{ inputs.npm-tag == 'branch' }}
|
||||||
run: |
|
run: |
|
||||||
set -u;
|
set -u;
|
||||||
./scripts/update-version.sh -gnu || exit 1;
|
./scripts/update-version.sh -gnu || exit 1;
|
||||||
|
Reference in New Issue
Block a user