From 62122459bc90b571923871e37d74fa49f1f96915 Mon Sep 17 00:00:00 2001 From: Eminem <58310848+thebadcoder96@users.noreply.github.com> Date: Tue, 9 Jan 2024 19:47:45 -0600 Subject: [PATCH] test validation --- .github/workflows/update-current-version.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-current-version.yml b/.github/workflows/update-current-version.yml index 42ed15db..7f1680d8 100644 --- a/.github/workflows/update-current-version.yml +++ b/.github/workflows/update-current-version.yml @@ -15,8 +15,9 @@ jobs: - uses: actions/checkout@v4 - name: Update README.md + - run: git fetch --prune --unshallow + run: | - git fetch --prune --unshallow latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) sed "s||$latest_tag|g" readme.md > tmp.md && mv tmp.md readme.md git config --local user.email "action@github.com"