From 57a8fb8099b6e892927b6e2b902ce303df91f8a4 Mon Sep 17 00:00:00 2001 From: greensd4 <33864348+greensd4@users.noreply.github.com> Date: Mon, 26 Aug 2024 12:41:50 +0300 Subject: [PATCH] CHnage the scene (AST-000) (#25) * modify release file * changes * changes --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66019e4..501a4a6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,12 +33,18 @@ jobs: exit 1 fi echo "formatted_title=$formatted_title" >> $GITHUB_ENV + - name: Get Latest Tag + id: get_tag + run: | + latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) + echo "tag=${latest_tag}" >> $GITHUB_ENV - name: Bump Patch Version id: bump uses: cbrgm/semver-bump-action@main with: - current-version: ${{ steps.get_tag.outputs.tag }} + current-version: ${{ env.tag }} bump-level: patch + - name: Create a new tag run: | git tag ${{ steps.bump.outputs.new_version }} -m "${{ steps.get_pr_title.outputs.pr_title }}"