Skip to content

Commit

Permalink
Try to fix release wrokflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sopelj committed Dec 21, 2023
1 parent 1af0801 commit f51e160
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit f51e160

Please sign in to comment.