Skip to content

Commit

Permalink
trigger ci
Browse files Browse the repository at this point in the history
  • Loading branch information
swissiety committed Oct 31, 2023
1 parent 280ddcc commit b9dcf9b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,8 @@ 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: 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)"

- run: echo "[${{steps.latestgittag.outputs.latestgittagvar}}]"

- name: replace "{{ git_latest_release }}" with latest release tag version in .md files
run: sed -i 's\{{ git_latest_release }}\'${{steps.latestgittag.outputs.latestgittagvar}}'\g' docs/**.md
run: sed -i 's\{{ git_latest_release }}\'$(git tag --sort=committerdate | grep -E '[0-9]' | tail -1 | cut -b 2-7)'\g' docs/**.md

- run: git fetch origin gh-pages --depth=1
- name: Configure git user
Expand Down

0 comments on commit b9dcf9b

Please sign in to comment.