Skip to content

Commit 782cd72

Browse files
committed
updating workflow for debugging
1 parent 529f476 commit 782cd72

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,23 @@ jobs:
4141
uses: actions/setup-python@v5
4242
-
4343
name: Create Release Info
44-
run: echo "RELEASE_VERSION=$(cat .plugin-version)" >> $GITHUB_ENV
44+
run: |
45+
PLAIN_VERSION=$(cat .plugin-version | sed 's/^v//')
46+
echo "RELEASE_VERSION=$(cat .plugin-version)" >> $GITHUB_ENV
47+
echo "PLAIN_VERSION=$PLAIN_VERSION" >> $GITHUB_ENV
48+
-
49+
name: Debug Versions
50+
run: |
51+
echo "Tag version: ${{ env.RELEASE_VERSION }}"
52+
echo "Hatch version: ${{ env.PLAIN_VERSION }}"
4553
-
4654
name: Installing Dependencies
4755
run: |
4856
pip install requests
4957
pip install hatch
5058
-
5159
name: Versioning the build
52-
run: hatch version ${{ env.RELEASE_VERSION }}
60+
run: hatch version ${{ env.PLAIN_VERSION }}
5361
-
5462
name: Creating python Package
5563
run: hatch build

0 commit comments

Comments
 (0)