Skip to content

Commit

Permalink
[WIP] workflow: remove tag
Browse files Browse the repository at this point in the history
Inspired by the fact that the "draft" release (previous change)
generated the URL

   https://github.com/<OWNER AND REPO>/releases/tag/untagged-<HASH>

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 ...
  • Loading branch information
thlehmann-ionos committed Oct 31, 2024
1 parent 17bc7d9 commit ad42d86
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/easycloud-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -105,7 +103,6 @@ jobs:
with:
draft: true
prerelease: true
tag_name: ${{ env.TAG_NAME }}
files: |
${{ env.PACKAGE_NAME }}
${{ env.PACKAGE_NAME }}.sha256
Expand Down

0 comments on commit ad42d86

Please sign in to comment.