1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-22 15:51:15 +01:00

Fix builds

This commit is contained in:
Daniil Gentili 2021-09-24 18:50:21 +02:00
parent a6a41e19fe
commit b93027e5df
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 4 additions and 1 deletions

View File

@ -27,6 +27,9 @@ jobs:
run: |
echo "$HOME/.local/php/$PHP_VERSION" >> $GITHUB_PATH
- name: Set env
run: echo "TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Build
env:
API_ID: ${{ secrets.API_ID }}

View File

@ -7,7 +7,7 @@ php=$PHP_MAJOR_VERSION$PHP_MINOR_VERSION
COMMIT="$(git log -1 --pretty=%H)"
BRANCH=$(git rev-parse --abbrev-ref HEAD)
TAG=$(git tag --points-at $COMMIT | grep -v '\.9999')
#TAG=$(git tag --points-at $COMMIT | grep -v '\.9999')
COMMIT_MESSAGE="$(git log -1 --pretty=%B HEAD)"
[[ "$TAG" == *.9999 ]] && exit 0