1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-09-16 09:26:22 +02:00

ci(release): update/create dynamic tags with each release (#5454)

Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
This commit is contained in:
Googlom
2025-08-19 10:15:08 +03:00
committed by GitHub
parent c2237feeae
commit e3d8613236

View File

@@ -98,6 +98,18 @@ jobs:
${{ github.api_url }}/repos/${{ github.repository }}/releases/${{ steps.release_id.outputs.release_id }}
-d '{"prerelease": false, "make_latest": true}'
# We need to download the shell script because reusable workflows execute
# within the context of the workflow that calls them
- name: Update/create dynamic tags
env:
GITHUB_TOKEN: ${{ github.token }}
SCRIPT_RAW_URL: https://raw.githubusercontent.com/SAP/project-piper-action/refs/heads/main/.github/scripts/update_dynamic_tags.sh
run: |
curl -s -L "$SCRIPT_RAW_URL" -o update-dynamic-tags.sh
chmod +x update-dynamic-tags.sh
./update-dynamic-tags.sh "${{ env.PIPER_version }}"
continue-on-error: true
# Workaround for https://github.com/SAP/jenkins-library/issues/1723, build only works with jdk8 currently
- uses: actions/setup-java@v4
with: