Fix comparison before building release (#160)
This commit is contained in:
parent
83534eaf0f
commit
0fa7c8d819
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user