mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-26 10:41:04 -05:00
Store values in current env before storing to the env file
This commit is contained in:
parent
98b9f97a88
commit
b9cb2b121d
1 changed files with 7 additions and 3 deletions
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
@ -62,11 +62,15 @@ jobs:
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
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 "RELEASE_VERSION=${RELEASE_VERSION}"
|
||||||
echo "SEMVER_VERSION=${RELEASE_VERSION#v}"
|
echo "SEMVER_VERSION=${SEMVER_VERSION}"
|
||||||
echo "SEMVER_MAJOR_VERSION=${SEMVER_VERSION%%.*}"
|
echo "SEMVER_MAJOR_VERSION=${SEMVER_MAJOR_VERSION}"
|
||||||
echo "SEMVER_MAJOR_VERSION_WITH_PREFIX=v${SEMVER_MAJOR_VERSION}"
|
echo "SEMVER_MAJOR_VERSION_WITH_PREFIX=${SEMVER_MAJOR_VERSION_WITH_PREFIX}"
|
||||||
} >> "${GITHUB_ENV}"
|
} >> "${GITHUB_ENV}"
|
||||||
|
|
||||||
- name: Start ${{ matrix.images.environment }} Deployment
|
- name: Start ${{ matrix.images.environment }} Deployment
|
||||||
|
|
Loading…
Reference in a new issue