Fix release tag (#2511)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2025-06-27 12:16:53 +03:00
committed by GitHub
parent bb70309a60
commit d95e60280e
3 changed files with 4 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
# This workflow builds and releases Docker images for Hawkbit applications to DockerHub.
# It should be run from personal forks of the hawkbit repository with set .
# personal DOCKERHUB_USERNAME var and DOCKERHUB_TOKEN secret.
name: Release Docker Images
name: Release - Docker Images
on:
# enable running the workflow manually

View File

@@ -1,4 +1,4 @@
name: Release Tag
name: Release - Tag
on:
# enable running the workflow manually
@@ -17,17 +17,6 @@ permissions:
contents: write
jobs:
audit:
# only on original eclipse-hawkbit/hawkbit repo
if: github.repository == 'eclipse-hawkbit/hawkbit'
runs-on: ubuntu-latest
steps:
- name: "Release ${{ inputs.revision }}"
run: echo "Releasing ${{ inputs.revision }}"
# tag with release version if not already tagged
# if already tagged - it will release from there
tag:
# only on original eclipse-hawkbit/hawkbit repo and when release fixed version
if: github.repository == 'eclipse-hawkbit/hawkbit' && inputs.revision != '0-SNAPSHOT'

View File

@@ -26,7 +26,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Tag release
- name: Create Tag ${{ inputs.tag_name }}
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
@@ -54,7 +54,7 @@ jobs:
else
echo "Tag ${TAG_NAME} already exists, do nothing."
fi
fi`
fi
env:
TAG_NAME: ${{ inputs.tag_name }}
TAG_MESSAGE: ${{ inputs.tag_message }}