mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 14:10:56 -05:00
Fix release pipeline
Signed-off-by: Brett Logan <lindluni@github.com>
This commit is contained in:
parent
985ef206aa
commit
098b6b8415
1 changed files with 2 additions and 2 deletions
4
.github/workflows/deploy-release.yml
vendored
4
.github/workflows/deploy-release.yml
vendored
|
@ -50,7 +50,7 @@ jobs:
|
||||||
- name: Get current release identifier
|
- name: Get current release identifier
|
||||||
# shellcheck disable=SC2062
|
# shellcheck disable=SC2062
|
||||||
run: |
|
run: |
|
||||||
RELESE_VERSION="${{ github.event.release.name }}"
|
RELEASE_VERSION="${{ github.event.release.name }}"
|
||||||
|
|
||||||
if [ -z "${RELEASE_VERSION}" ]; then
|
if [ -z "${RELEASE_VERSION}" ]; then
|
||||||
echo "No release version found in environment, using input..."
|
echo "No release version found in environment, using input..."
|
||||||
|
@ -69,7 +69,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{
|
{
|
||||||
echo "RELEASE_VERSION=${RELESE_VERSION}"
|
echo "RELEASE_VERSION=${RELEASE_VERSION}"
|
||||||
echo "SEMVER_VERSION=${RELEASE_VERSION#v}"
|
echo "SEMVER_VERSION=${RELEASE_VERSION#v}"
|
||||||
echo "SEMVER_MAJOR_VERSION=${SEMVER_VERSION%%.*}"
|
echo "SEMVER_MAJOR_VERSION=${SEMVER_VERSION%%.*}"
|
||||||
echo "SEMVER_MAJOR_VERSION_WITH_PREFIX=v${SEMVER_MAJOR_VERSION}"
|
echo "SEMVER_MAJOR_VERSION_WITH_PREFIX=v${SEMVER_MAJOR_VERSION}"
|
||||||
|
|
Loading…
Reference in a new issue