From 1e796b9876de612029460f2e1ce129b66ceab160 Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Thu, 13 Apr 2023 23:56:59 +0200 Subject: [PATCH] Update CI-master_tests.yml --- .github/workflows/CI-master_tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI-master_tests.yml b/.github/workflows/CI-master_tests.yml index 17e7679..c332900 100644 --- a/.github/workflows/CI-master_tests.yml +++ b/.github/workflows/CI-master_tests.yml @@ -412,6 +412,10 @@ jobs: id: date run: echo "::set-output name=date::$(date +'%Y%m%d')" + - name: Generate random + id: random_n + run: echo "::set-output name=tag_name::$(openssl rand -hex 4)" + # Create the release - name: Create Release id: create_release @@ -419,8 +423,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.sha }} ${{steps.date.outputs.date}} - release_name: Release ${{ github.ref }} ${{ github.sha }} ${{steps.date.outputs.date}} + tag_name: ${{steps.date.outputs.date}}-${{steps.date.outputs.random_n}} + release_name: Release ${{ github.ref }} ${{steps.date.outputs.date}}-${{steps.date.outputs.random_n}} draft: false prerelease: false