From 53defe4c385c7eaf5f9cf1bd4b4fa14cda527223 Mon Sep 17 00:00:00 2001 From: frozenIceage Date: Thu, 18 Jul 2024 17:33:34 +0200 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 091f77a..0f3de23 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,11 +12,11 @@ jobs: PROJECT: home:ChHuang PACKAGE: python-osc-tiny steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@master - name: Get latest release tag id: get_latest_release run: | - git pull + git fetch --tags LATEST_TAG=$(git describe --tags --abbrev=0) LATEST_TAG=${LATEST_TAG#v} echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV