ci: Change CI

This commit is contained in:
2025-10-28 18:02:40 +03:00
parent abc87abe88
commit 334c0c1480
2 changed files with 3 additions and 4 deletions

View File

@@ -3,14 +3,13 @@ name: Release
on: on:
push: push:
branches: branches:
- dev
- master - master
permissions: permissions:
contents: write contents: write
jobs: jobs:
goreleaser: release:
runs-on: self-hosted runs-on: self-hosted
steps: steps:
- name: Checkout - name: Checkout

View File

@@ -2,7 +2,7 @@
* @type {import('semantic-release').GlobalConfig} * @type {import('semantic-release').GlobalConfig}
*/ */
module.exports = { module.exports = {
branches: ['master', {name: 'dev', prerelease: true}], branches: ['main'],
plugins: [ plugins: [
[ [
'@semantic-release/commit-analyzer', '@semantic-release/commit-analyzer',
@@ -44,7 +44,7 @@ module.exports = {
[ [
"@semantic-release/exec", "@semantic-release/exec",
{ {
publishCmd: 'echo "\n\n${nextRelease.notes}" >> CHANGELOG.md' publishCmd: 'echo -e "${nextRelease.notes}\n\n$(cat CHANGELOG.md)" > CHANGELOG.md'
} }
], ],
[ [