Skip to content

Commit 208fadb

Browse files
committed
Build after version check
1 parent e24fa7c commit 208fadb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/release.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ VITE_CLIENT_ID=${id}
2929
`
3030

3131
async function run() {
32-
await fs.writeFile(envPath, envFileContent, 'utf-8')
33-
await execaCommand('pnpm tauri build --target universal-apple-darwin', { stdio: 'inherit' })
34-
3532
const tauriConf = JSON.parse(
3633
await fs.readFile(tauriConfPath, 'utf-8'),
3734
) as typeof import('../../src-tauri/tauri.conf.json')
@@ -73,6 +70,9 @@ async function run() {
7370
}
7471
catch { /* If endpoint throws, it means no release yet */ }
7572

73+
await fs.writeFile(envPath, envFileContent, 'utf-8')
74+
await execaCommand('pnpm tauri build --target universal-apple-darwin', { stdio: 'inherit' })
75+
7676
const release = await octokit.rest.repos.createRelease({
7777
owner: 'Gitification-App',
7878
repo: 'gitification',

0 commit comments

Comments
 (0)