diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13d36292..6cea27b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,11 +79,14 @@ jobs: export CURRENT_VERSION=`php bin/bitrix-version` export ARCHIVE_PATH="${{ github.workspace }}/release/$CURRENT_VERSION.tar.gz" export LAST_TAG=`git describe --tags $(git rev-list --tags --max-count=1) || true` + export RELEASE_TAG=v$CURRENT_VERSION echo CURRENT_VERSION=$CURRENT_VERSION >> $GITHUB_ENV echo LAST_TAG=$LAST_TAG >> $GITHUB_ENV echo ARCHIVE_NAME="$CURRENT_VERSION.tar.gz" >> $GITHUB_ENV echo ARCHIVE_PATH=$ARCHIVE_PATH >> $GITHUB_ENV - echo RELEASE_TAG=v$CURRENT_VERSION >> $GITHUB_ENV + echo RELEASE_TAG=$RELEASE_TAG >> $GITHUB_ENV + echo Current version is $CURRENT_VERSION, release tag will be v$CURRENT_VERSION + echo Last tag is $LAST_TAG, archive will be saved to $ARCHIVE_PATH make build_release - name: Create Release id: create_release