From 6fc4d91a29b0bc4853f2ff7909a97dafa9e5fbed Mon Sep 17 00:00:00 2001 From: Eugen Eisler Date: Sun, 29 Sep 2024 21:46:49 +0200 Subject: [PATCH] feat: add version updater bot --- .github/workflows/update-version.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml index 47b5b96..def1669 100644 --- a/.github/workflows/update-version.yml +++ b/.github/workflows/update-version.yml @@ -21,6 +21,7 @@ jobs: - name: Get the latest tag id: get_latest_tag run: | + ls -all latest_tag=$(git describe --tags --abbrev=0) echo "Latest tag is: $latest_tag" echo "::set-output name=tag::$latest_tag" @@ -28,6 +29,7 @@ jobs: - name: Get the latest commit hash id: get_commit_hash run: | + ls -all commit_hash=$(git rev-parse --short HEAD) echo "Commit hash is: $commit_hash" echo "::set-output name=commit_hash::$commit_hash"