diff --git a/.github/workflows/appimage10.yml b/.github/workflows/appimage10.yml index 484b5065..52f9de44 100644 --- a/.github/workflows/appimage10.yml +++ b/.github/workflows/appimage10.yml @@ -66,7 +66,9 @@ jobs: echo GITHUB_SHA=$GITHUB_SHA # GitHub CI is a shallow checkout by default (just the files needed to build) # but we also want history back to next tag, see fetch-tags/fetch-depth actions/checkout~issue#1471 + git update-ref -d $GITHUB_REF # remove the ref (to avoid conflict during fetch) git fetch --tags --prune --no-recurse-submodules --depth=149 origin +$GITHUB_SHA # fetch-tags: true # is broken + test "$(git show-ref --hash $GITHUB_REF)" = "$GITHUB_SHA" # check we got the ref back (or fail CI) git_describe=$(git describe --tags $GITHUB_SHA | sed -e 's#\-\([0-9]\+\-g\)#\+\1#') # /-\d+-g/ # RELEASE-NOTES-EL10.txt diff --git a/.github/workflows/appimage7.yml b/.github/workflows/appimage7.yml index 5c190da3..fefc3936 100644 --- a/.github/workflows/appimage7.yml +++ b/.github/workflows/appimage7.yml @@ -66,7 +66,9 @@ jobs: echo GITHUB_SHA=$GITHUB_SHA # GitHub CI is a shallow checkout by default (just the files needed to build) # but we also want history back to next tag, see fetch-tags/fetch-depth actions/checkout~issue#1471 + git update-ref -d $GITHUB_REF # remove the ref (to avoid conflict during fetch) git fetch --tags --prune --no-recurse-submodules --depth=149 origin +$GITHUB_SHA # fetch-tags: true # is broken + test "$(git show-ref --hash $GITHUB_REF)" = "$GITHUB_SHA" # check we got the ref back (or fail CI) git_describe=$(git describe --tags $GITHUB_SHA | sed -e 's#\-\([0-9]\+\-g\)#\+\1#') # /-\d+-g/ # RELEASE-NOTES-EL7.txt diff --git a/.github/workflows/appimage8.yml b/.github/workflows/appimage8.yml index 060232e8..97c629f0 100644 --- a/.github/workflows/appimage8.yml +++ b/.github/workflows/appimage8.yml @@ -66,7 +66,9 @@ jobs: echo GITHUB_SHA=$GITHUB_SHA # GitHub CI is a shallow checkout by default (just the files needed to build) # but we also want history back to next tag, see fetch-tags/fetch-depth actions/checkout~issue#1471 + git update-ref -d $GITHUB_REF # remove the ref (to avoid conflict during fetch) git fetch --tags --prune --no-recurse-submodules --depth=149 origin +$GITHUB_SHA # fetch-tags: true # is broken + test "$(git show-ref --hash $GITHUB_REF)" = "$GITHUB_SHA" # check we got the ref back (or fail CI) git_describe=$(git describe --tags $GITHUB_SHA | sed -e 's#\-\([0-9]\+\-g\)#\+\1#') # /-\d+-g/ # RELEASE-NOTES-EL8.txt diff --git a/.github/workflows/appimage9.yml b/.github/workflows/appimage9.yml index 142ef703..dd52749e 100644 --- a/.github/workflows/appimage9.yml +++ b/.github/workflows/appimage9.yml @@ -66,7 +66,9 @@ jobs: echo GITHUB_SHA=$GITHUB_SHA # GitHub CI is a shallow checkout by default (just the files needed to build) # but we also want history back to next tag, see fetch-tags/fetch-depth actions/checkout~issue#1471 + git update-ref -d $GITHUB_REF # remove the ref (to avoid conflict during fetch) git fetch --tags --prune --no-recurse-submodules --depth=149 origin +$GITHUB_SHA # fetch-tags: true # is broken + test "$(git show-ref --hash $GITHUB_REF)" = "$GITHUB_SHA" # check we got the ref back (or fail CI) git_describe=$(git describe --tags $GITHUB_SHA | sed -e 's#\-\([0-9]\+\-g\)#\+\1#') # /-\d+-g/ # RELEASE-NOTES-EL9.txt