From 7e9178fb426257aa5c95ae24e604a74bfc255f1d Mon Sep 17 00:00:00 2001 From: Tom Page Date: Mon, 15 Jul 2024 10:01:53 +0100 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84ffa7468..c1424a978 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,11 @@ # See .pre-commit-config.yaml for what hooks are executed name: Release +env: + skip_tests: false + tagged_version: ${{ github.ref_name }} + + on: release: types: @@ -13,7 +18,7 @@ on: description: 'Skip Tests - Only to be used ' required: false default: false - version: + tagged_version: description: "The tagged version to run the release of" required: true @@ -47,7 +52,7 @@ jobs: publish_url_collection_2: https://cloud.redhat.com/api/automation-hub/ galaxy_publish_2: false ah_publish_2: true - collection_version: ${{ github.ref_name }} + collection_version: ${{ tagged_version }} collection_repo: https://github.com/redhat-cop/controller_configuration/ quay_username: redhat_cop collection_dependencies: awx.awx