ci: actually get commit msg

This commit is contained in:
goaaats 2021-10-31 21:31:38 +01:00 committed by GitHub
parent d0950a7fbc
commit 396695f21c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ jobs:
- name: Determine Tag
id: s1
run: |
version=$(echo $input | perl -nle 'm/build:\s*([0-9]+.[0-9]+.[0-9]+.[0-9]+)/; print $1');
version=$(echo "${{github.event.head_commit.message}}" | perl -nle 'm/build:\s*([0-9]+.[0-9]+.[0-9]+.[0-9]+)/; print $1');
if [ -z "$version" ];
then