From 058fa663d8a415d8273cbb7395626cb0369c1b62 Mon Sep 17 00:00:00 2001 From: Markus Schmidt Date: Tue, 31 Oct 2023 16:20:00 +0100 Subject: [PATCH] trigger ci --- .github/workflows/gh-pages.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index e5d84fb3153..f54f5cb7df3 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -25,6 +25,9 @@ jobs: - uses: actions/checkout@v2 with: fetch-tags: true + # to get tag information + - run: git fetch --prune --unshallow + - uses: actions/setup-python@v2 with: python-version: 3.x @@ -38,11 +41,6 @@ jobs: # grab latest release url of the JimpleLSP jar and download it - run: curl -s -L -o ./jimplelsp.jar $(curl -s https://api.github.com/repos/swissiety/jimpleLsp/releases/latest | grep 'browser_download_url".*jar"' | cut -d ':' -f 2,3 | tr -d \") - - - run: ls -a - - run: git describe --tags `git rev-list --tags --max-count=1` - - run: git tag --sort=committerdate - - name: get latest release tag id: "latestgittag" run: latestgittagvar="$(git tag --sort=committerdate | grep -E '[0-9]' | tail -1 | cut -b 2-7)"