This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-upgrade-recipes.git
The following commit(s) were added to refs/heads/main by this push: new af5c7ff Create GitHub releases for tags af5c7ff is described below commit af5c7ffc5178d08e1d38d1eb0e919e3cb17d681b Author: Tim te Beek <t...@moderne.io> AuthorDate: Mon Aug 18 12:12:33 2025 +0200 Create GitHub releases for tags --- .github/workflows/github-release.yml | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml new file mode 100644 index 0000000..3fe0b34 --- /dev/null +++ b/.github/workflows/github-release.yml @@ -0,0 +1,38 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +name: Create GitHub Release +# This workflow creates a GitHub release when a tag is pushed, such that folks can subscribe to releases in GitHub + +on: + push: + tags: + - [0-9]+.[0-9]+.[0-9]+ + +jobs: + release: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - name: Create GitHub Release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh release create "${{ github.ref_name }}" \ + --repo="$GITHUB_REPOSITORY" \ + --title="${{ github.ref_name }}" \ + --generate-notes