diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 92d3e27a..775fcb73 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -91,7 +91,7 @@ jobs: - name: Set APP ID in env id: set-app-id run: | - app_id=$(echo '${{ secrets.DOKPLOY_STAGE_APPS }}' | jq -r '.${{ matrix.app }}') + app_id=$(echo '${{ secrets.DOKPLOY_STAGE_APPS }}' | jq -r '."${{ matrix.app }}"' echo "::add-mask::$app_id" echo "APP_ID=$app_id" >> $GITHUB_OUTPUT diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9937327c..e1052a06 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -103,7 +103,7 @@ jobs: - name: Set APP ID in env id: set-app-id run: | - app_id=$(echo '${{ secrets.DOKPLOY_APPS }}' | jq -r '.${{ needs.determine-changes.outputs.package }}') + app_id=$(echo '${{ secrets.DOKPLOY_APPS }}' | jq -r '."${{ needs.determine-changes.outputs.package }}"' echo "::add-mask::$app_id" echo "APP_ID=$app_id" >> $GITHUB_OUTPUT diff --git a/package.json b/package.json index 2cb5bd7a..c092ae50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chat-game/space", - "version": "0.2.0", + "private": true, "packageManager": "pnpm@9.14.2", "pnpm": { "supportedArchitectures": { @@ -33,7 +33,8 @@ "keywords": [ "game", "online", - "twitch" + "twitch", + "telegram" ], "scripts": { "release": "pnpm -r --filter \"./apps/**\" --workspace-concurrency=1 exec -- npx --no-install semantic-release -e semantic-release-monorepo", diff --git a/release.config.mjs b/release.config.mjs index dcbea7ca..1b6a8861 100644 --- a/release.config.mjs +++ b/release.config.mjs @@ -9,30 +9,27 @@ export default { { breaking: true, release: 'major' }, { type: 'feat', release: 'minor' }, { type: 'fix', release: 'patch' }, - { type: 'chore', release: false }, + { type: 'chore', release: 'patch' }, + { type: 'refactor', release: 'patch' }, ], }, ], '@semantic-release/release-notes-generator', - [ - '@semantic-release/changelog', - { - changelogFile: 'CHANGELOG.md', - }, - ], [ '@semantic-release/exec', { // eslint-disable-next-line no-template-curly-in-string - prepareCmd: 'pnpm version ${nextRelease.version} --git-tag-version=false', + publishCmd: 'pnpm version ${nextRelease.version} --git-tag-version=false', }, ], + '@semantic-release/github', [ '@semantic-release/git', { - assets: ['CHANGELOG.md', 'package.json', 'apps/**/CHANGELOG.md', 'apps/**/package.json'], + assets: ['package.json', 'apps/**/package.json'], + // eslint-disable-next-line no-template-curly-in-string + message: 'chore(release): ${nextRelease.version} [skip ci]', }, ], - '@semantic-release/github', ], -} +} \ No newline at end of file