diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0be4d796..3429c8c4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,9 +1,10 @@ name: Release on: + workflow_dispatch: push: branches: - - main + - next env: DOCKER_REGISTRY: docker-public.terrestris.de/terrestris diff --git a/.releaserc.json b/.releaserc.json index 80458e9d..7b30ece5 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -1,6 +1,10 @@ { "branches": [ - "main" + "main", + { + "name": "next", + "prerelease": true + } ], "plugins": [ [ @@ -40,12 +44,7 @@ } } ], - [ - "@semantic-release/npm", - { - "npmPublish": false - } - ], + "@semantic-release/npm", "@semantic-release/changelog", [ "@semantic-release/git", diff --git a/package.json b/package.json index 9bc65874..2f07f144 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "version": "16.0.0", "description": "The admin UI for the SHOGun Web-mapping backend.", "main": "index.js", + "files": [ + "dist" + ], "scripts": { "build": "tsc && vite build", "clean:dist": "rimraf ./dist/*",