55 это Санкт Петербург
All checks were successful
Deploy Production / Deploy to Staging (push) Has been skipped

This commit is contained in:
Alex Shevchuk
2025-08-19 22:37:52 +03:00
parent f1fa430fb3
commit a2513441ab

View File

@@ -38,11 +38,13 @@ jobs:
env: env:
REPO: ${{ github.repository }} REPO: ${{ github.repository }}
run: | run: |
if [ ${{ inputs.version }} == "new" ]; then VERSION=${{ inputs.version }}
if [ ${VERSION} == "new" ]; then
GIT_SHA=$(git rev-parse --short HEAD) GIT_SHA=$(git rev-parse --short HEAD)
GIT_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo 'none') GIT_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo 'none')
else else
GIT_SHA=$(echo ${{ inputs.version }} | cut -d'-' -f2) GIT_SHA=$(echo ${VERSION} | cut -d'-' -f2)
GIT_TAG='none' GIT_TAG='none'
fi fi