We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfba37e commit 30f9cc9Copy full SHA for 30f9cc9
1 file changed
.github/workflows/build.yml
@@ -164,10 +164,15 @@ jobs:
164
mkdir -p gui/dist/artifacts/linux/ \
165
gui/dist/artifacts/win \
166
gui/dist/artifacts/mac
167
+ VERSION=$(git --no-pager tag --sort -taggerdate --points-at HEAD | head -1)
168
+ [ -z "$VERSION" ] && VERSION="0.0.0"
169
+ VERSION="${VERSION#v}"
170
+ echo "Building version: $VERSION"
171
cd gui
172
pnpm i
173
pnpm exec electron-builder --${{ matrix.platform }} \
174
${{ matrix.platform == 'macos' && '--universal' || '' }} \
175
+ --config.extraMetadata.version="$VERSION" \
176
--publish never
177
- name: Collect and Rename Artifacts
178
shell: bash
0 commit comments