55 это Санкт Петербург
All checks were successful
Deploy Production / Deploy to Staging (push) Has been skipped
All checks were successful
Deploy Production / Deploy to Staging (push) Has been skipped
This commit is contained in:
@@ -38,11 +38,13 @@ jobs:
|
||||
env:
|
||||
REPO: ${{ github.repository }}
|
||||
run: |
|
||||
if [ ${{ inputs.version }} == "new" ]; then
|
||||
VERSION=${{ inputs.version }}
|
||||
|
||||
if [ ${VERSION} == "new" ]; then
|
||||
GIT_SHA=$(git rev-parse --short HEAD)
|
||||
GIT_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo 'none')
|
||||
else
|
||||
GIT_SHA=$(echo ${{ inputs.version }} | cut -d'-' -f2)
|
||||
GIT_SHA=$(echo ${VERSION} | cut -d'-' -f2)
|
||||
GIT_TAG='none'
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user