Skip to content

Commit 1f9e9fe

Browse files
Use alpha-<sha> release naming
Set version to 0.0.0-alpha (valid semver for Tauri) and name releases as alpha-<short sha> (e.g. alpha-e3f0448). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0983eb7 commit 1f9e9fe

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,15 @@ jobs:
9999
pattern: dmg-*
100100
merge-multiple: true
101101

102-
- name: Generate release tag
103-
id: tag
104-
run: |
105-
VERSION=$(jq -r .version src-tauri/tauri.conf.json)
106-
DATE=$(date -u +%Y%m%d)
107-
SHORT_SHA=${GITHUB_SHA::7}
108-
echo "tag=v${VERSION}-dev.${DATE}.${SHORT_SHA}" >> "$GITHUB_OUTPUT"
102+
- name: Generate short SHA
103+
id: sha
104+
run: echo "short=${GITHUB_SHA::7}" >> "$GITHUB_OUTPUT"
109105

110106
- name: Create release
111107
uses: softprops/action-gh-release@v2
112108
with:
113-
tag_name: ${{ steps.tag.outputs.tag }}
114-
name: ${{ steps.tag.outputs.tag }}
109+
tag_name: alpha-${{ steps.sha.outputs.short }}
110+
name: alpha-${{ steps.sha.outputs.short }}
115111
body: |
116112
Automated build from [`${{ github.sha }}`](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}).
117113
files: artifacts/*.dmg

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "comet",
4-
"version": "0.1.0",
4+
"version": "0.0.0-alpha",
55
"identifier": "app.comet.desktop",
66
"build": {
77
"beforeDevCommand": "npm run dev",

0 commit comments

Comments
 (0)