Skip to content

Commit 4a60a46

Browse files
authored
Remove extractor since it won't work
1 parent 8ed500e commit 4a60a46

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,11 @@ jobs:
6363
with:
6464
path: artifacts
6565

66-
- name: Extract version from version.txt
67-
id: get_version
68-
run: |
69-
version=$(python -c "import re; f = open('version.txt', 'r'); content = f.read(); f.close(); match = re.search(r'ProductVersion\s*=\s*([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)', content); print(match.group(1) if match else 'Not found')")
70-
echo "VERSION=$version" >> $GITHUB_ENV
71-
7266
- name: Create GitHub Release with Assets
7367
uses: softprops/action-gh-release@v2
7468
with:
75-
tag_name: ${{ env.VERSION }}
76-
name: Release ${{ env.VERSION }}
69+
tag_name: ${{ github.sha }}
70+
name: Release ${{ github.sha }}
7771
body: |
7872
This release includes the latest build artifacts.
7973
draft: true
@@ -83,4 +77,4 @@ jobs:
8377
artifacts/AutoclickerX-Linux/autoclickerx-linux
8478
artifacts/AutoclickerX-Mac/autoclickerx-mac
8579
env:
86-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
80+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)