From f51e1605f21252c9dbe7bdecdb3435003fc2603f Mon Sep 17 00:00:00 2001 From: Jesse Sopel Date: Thu, 21 Dec 2023 13:07:52 -0500 Subject: [PATCH] Try to fix release wrokflow --- .github/workflows/release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e0ab57..f62cbb6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,12 +22,6 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - - name: Get version from tag - id: tag_name - run: | - echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v} - shell: bash - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 @@ -43,6 +37,10 @@ jobs: python -m pip install --upgrade pip pip install hatch hatchling + - name: Set version from tag + run: | + hatch version "${GITHUB_REF#refs/tags/v}" + - name: build documentation run: | hatch run docs:build