From ad42d868e976c6943dae3f481f6adfe952ab6ee0 Mon Sep 17 00:00:00 2001 From: Thomas Lehmann Date: Thu, 31 Oct 2024 17:30:08 +0100 Subject: [PATCH] [WIP] workflow: remove tag Inspired by the fact that the "draft" release (previous change) generated the URL https://github.com//releases/tag/untagged- I thought it might not complain about no present tag. This attempts creating a draft release without a tag. Benefit: repo is not "polluted" (although this is not too bad) with snapshot tags. Let's try it ... --- .github/workflows/easycloud-build.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/easycloud-build.yml b/.github/workflows/easycloud-build.yml index e11659888d105..98fb86b2e6675 100644 --- a/.github/workflows/easycloud-build.yml +++ b/.github/workflows/easycloud-build.yml @@ -89,10 +89,8 @@ jobs: - name: Build package name run: | - TAG_NAME="rel-$( date '+%Y%m%d-%H%M%S' )" - SAFE_REF_NAME=${GITHUB_REF_NAME/\//-} - echo "TAG_NAME=${TAG_NAME}" >> ${GITHUB_ENV} - echo "PACKAGE_NAME=${PACKAGE_NAME_PREFIX}-${TAG_NAME}.${PACKAGE_NAME_EXTENSION}" >> ${GITHUB_ENV} + SNAP_RELEASE_NAME="rel-$( date '+%Y%m%d-%H%M%S' )" + echo "PACKAGE_NAME=${PACKAGE_NAME_PREFIX}-${SNAP_RELEASE_NAME}.${PACKAGE_NAME_EXTENSION}" >> ${GITHUB_ENV} - name: Zip dependencies run: make -f IONOS/Makefile zip_dependencies TARGET_PACKAGE_NAME=${{ env.PACKAGE_NAME }} @@ -105,7 +103,6 @@ jobs: with: draft: true prerelease: true - tag_name: ${{ env.TAG_NAME }} files: | ${{ env.PACKAGE_NAME }} ${{ env.PACKAGE_NAME }}.sha256