Skip to content

Commit c9d98f5

Browse files
chore(release): 1.1.0 [skip ci]
## [1.1.0](v1.0.0...v1.1.0) (2025-08-30) ### Features * include binaries in the build ([44ec8bb](44ec8bb)) ### Bug Fixes * windows icon ([7f7227e](7f7227e))
1 parent a04fbb3 commit c9d98f5

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/release.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,15 @@ jobs:
129129
- name: Create version file
130130
shell: bash
131131
run: |
132-
echo "VERSION = '${{ needs.semantic-release.outputs.new-release-version }}'" > src/version.py
132+
cat > src/version.py << 'EOF'
133+
"""Version information for Glimpse."""
134+
135+
VERSION = "${{ needs.semantic-release.outputs.new-release-version }}"
136+
137+
def get_version():
138+
"""Get the current version string."""
139+
return VERSION
140+
EOF
133141
134142
- name: Build executable (Linux with virtual display)
135143
if: matrix.os == 'ubuntu-latest'
@@ -212,7 +220,15 @@ jobs:
212220
213221
- name: Create version file for semantic-release
214222
run: |
215-
echo "VERSION = '${{ needs.semantic-release.outputs.new-release-version }}'" > src/version.py
223+
cat > src/version.py << 'EOF'
224+
"""Version information for Glimpse."""
225+
226+
VERSION = "${{ needs.semantic-release.outputs.new-release-version }}"
227+
228+
def get_version():
229+
"""Get the current version string."""
230+
return VERSION
231+
EOF
216232
217233
- name: Run semantic-release (full release)
218234
run: semantic-release

0 commit comments

Comments
 (0)