From 8ec70184b9bc59be68b6d5f1709ad7223b5fe8b1 Mon Sep 17 00:00:00 2001 From: Keisuke Umeno <9renpoto@gmail.com> Date: Sun, 3 Dec 2023 11:18:00 +0900 Subject: [PATCH] chore: get current tag --- .github/workflows/bump.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 589e70b..a54920b 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -24,12 +24,12 @@ jobs: steps: - uses: actions/checkout@v4 - - run: npm version ${{ inputs.semver }} --no-git-tag-version --workspaces --no-workspaces-update + # - run: npm version ${{ inputs.semver }} --no-git-tag-version --workspaces --no-workspaces-update - name: generate new version and save to env variable id: get_version run: | - echo "NEW_VERSION=$(cat < apps/web/package.json | jq -r .version)" >> "$GITHUB_OUTPUT" + echo "NEW_VERSION=${GITHUB_REF##*/}$" >> "$GITHUB_OUTPUT" - name: Generate release notes uses: actions/github-script@v7