Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/.builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ jobs:
with:
package: ${{ matrix.package }}
tags: ${{ inputs.tags }}
triggers: ('${{ matrix.package }}/' '.github/workflows/.builds.yml')
tag_fallback: test
18 changes: 16 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
name: Vars
runs-on: ubuntu-24.04
outputs:
tag: ${{ steps.changelog.outputs.tag || github.event.release.tag_name || '' }}
version: ${{ steps.changelog.outputs.version || github.event.release.tag_name || '' }}
tag: ${{ steps.changelog.outputs.tag || steps.release.outputs.tag || '' }}
version: ${{ steps.changelog.outputs.version || steps.release.outputs.version || '' }}
clean_changelog: ${{ steps.changelog.outputs.clean_changelog || '' }}
steps:
- uses: actions/checkout@v4
Expand All @@ -39,6 +39,20 @@ jobs:
skip-on-empty: "false"
skip-commit: "true"
git-push: "true"
- name: GitHub Release
id: release
if: (github.event_name == 'release')
shell: bash
run: |
echo "getting tag from release which was done manually in github"
# remove all spaces and new lines from the tag name and make it lowercase.
# Assign the computed tag value to a shell variable
tag=$(echo "${{ github.event.release.tag_name }}" | tr -d '[:space:]' | tr '[:upper:]' '[:lower:]')
echo "tag=$tag" >> $GITHUB_OUTPUT
# Compute version as tag without the leading 'v'
version=$(echo "$tag" | sed 's/^v//')
echo "version=$version" >> $GITHUB_OUTPUT

retag-images:
name: Retag Images
needs: [vars]
Expand Down
Loading