chore: i shouldve finished school

This commit is contained in:
Tickbase
2025-05-18 21:32:20 +02:00
parent 429370cad0
commit ab9a78185a
3 changed files with 43 additions and 33 deletions

View File

@@ -8,14 +8,18 @@ on:
env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# For the Tauri updater public key
TAURI_PUBLIC_KEY: ${{ secrets.TAURI_PUBLIC_KEY }}
# For signing the updates
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
jobs:
build-and-release:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}

37
.releaserc Normal file
View File

@@ -0,0 +1,37 @@
{
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "latest.json",
"label": "Updater manifest file"
}
]
}
]
]
}

View File

@@ -1,31 +0,0 @@
module.exports = {
branches: ['main'],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
[
'@semantic-release/npm',
{
// Don't actually publish to npm
npmPublish: false,
},
],
[
'@semantic-release/git',
{
assets: ['package.json', 'CHANGELOG.md'],
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
],
[
'@semantic-release/github',
{
assets: [
{ path: 'latest.json', label: 'Updater manifest file' },
// We don't need to specify release assets here as they're handled by the GitHub release action
],
},
],
],
}