From 1f93390f29baf8d73e7e87f7333d9dc0f13e412a Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Mon, 3 Jul 2023 16:57:45 -0700 Subject: [PATCH] Use calculated major version instead of hardcoded v5 (#4441) * Use calculated major version instead of hardcoded v5 fixes #4419 * remove trailing whitespace --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85b79c08..9fdef430 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,7 +65,7 @@ jobs: SEMVER_VERSION=${RELEASE_VERSION#v} SEMVER_MAJOR_VERSION=${SEMVER_VERSION%%.*} SEMVER_MAJOR_VERSION_WITH_PREFIX=v${SEMVER_MAJOR_VERSION} - + { echo "RELEASE_VERSION=${RELEASE_VERSION}" echo "SEMVER_VERSION=${SEMVER_VERSION}" @@ -88,7 +88,7 @@ jobs: with: src: ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}latest dst: | - ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}v5 + ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}${{ env.SEMVER_MAJOR_VERSION_WITH_PREFIX }} ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}${{ env.RELEASE_VERSION }} - name: Checkout Code