From a4ca37e611500fb0e973941533921b30abc0daa5 Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Thu, 5 Jan 2023 17:52:00 +0900 Subject: [PATCH] ci: add --tags --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b682476..1245d3c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - CURRENT_TAG=$(git describe --abbrev=0) + CURRENT_TAG=$(git describe --abbrev=0 --tags) NEW_VERSION=$(npm_config_yes=true npx semver "${CURRENT_TAG}" --increment ${{ github.event.inputs.semver_type }}) NEW_TAG="v${NEW_VERSION}" RELEASE_TITLE="peaceiris/workflows ${NEW_TAG}"