File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,23 @@ jobs:
41
41
uses : actions/setup-python@v5
42
42
-
43
43
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 }}"
45
53
-
46
54
name : Installing Dependencies
47
55
run : |
48
56
pip install requests
49
57
pip install hatch
50
58
-
51
59
name : Versioning the build
52
- run : hatch version ${{ env.RELEASE_VERSION }}
60
+ run : hatch version ${{ env.PLAIN_VERSION }}
53
61
-
54
62
name : Creating python Package
55
63
run : hatch build
You can’t perform that action at this time.
0 commit comments