Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrichwilken committed Jan 15, 2024
1 parent e22cade commit 643b01c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ jobs:
verify-release:
name: Verify release
runs-on: ubuntu-latest
outputs:
version: ${{ steps.gen-version.outputs.VERSION }}

steps:
- name: Checkout code
Expand All @@ -15,13 +17,16 @@ jobs:
fetch-depth: 0

- name: Generate version number
id: version
id: gen-version
run: |
GET_VERSION=$(mktemp /tmp/get-version-from-branch.sh)
# get script
GET_VERSION=$(mktemp /tmp/get-version-from-branch.XXXXX)
curl -L https://raw.githubusercontent.com/kyma-project/eventing-tools/main/hack/scripts/get-version-from-branch.sh -o "${GET_VERSION}"
chmod +x "${GET_VERSION}"
VERSION="${GET_VERSION}"
echo "::set-output name=version::$version"
# get version via script
VERSION=$("${GET_VERSION}")
# push version to output environment file
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
- name: Check image Tag
env:
Expand Down

0 comments on commit 643b01c

Please sign in to comment.