mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-12452 - Version published in NPM should have PR number id in the name not gh-run_id (#8218)
* AAE-11884 change tag sha action (#8118) * AAE-12452 change npm id
This commit is contained in:
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -161,6 +161,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dry-run-flag: ${{ inputs.dry-run-release }}
|
dry-run-flag: ${{ inputs.dry-run-release }}
|
||||||
- uses: ./.github/actions/download-cache-and-artifacts
|
- uses: ./.github/actions/download-cache-and-artifacts
|
||||||
|
- name: check PR number
|
||||||
|
id: action
|
||||||
|
uses: kamatama41/get-pr-number-action@v0
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: save PR number
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "PR_NUMBER=${{ steps.action.outputs.number }}" >> $GITHUB_ENV
|
||||||
- name: build libraries
|
- name: build libraries
|
||||||
run: |
|
run: |
|
||||||
set -u;
|
set -u;
|
||||||
|
@@ -82,7 +82,7 @@ fi
|
|||||||
|
|
||||||
if [[ "${EXEC_ALPHA}" == true ]]
|
if [[ "${EXEC_ALPHA}" == true ]]
|
||||||
then
|
then
|
||||||
NEXT_VERSION=${NEXT_VERSION}-${TRAVIS_BUILD_NUMBER}
|
NEXT_VERSION=${NEXT_VERSION}-${PR_NUMBER}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${EXEC_BETA}" == true ]]
|
if [[ "${EXEC_BETA}" == true ]]
|
||||||
|
Reference in New Issue
Block a user