From c6ffa1e2ac81a52b8df9d12e650a974b1c249abc Mon Sep 17 00:00:00 2001 From: szander Date: Mon, 14 Oct 2024 12:47:01 +0200 Subject: [PATCH] edit workflow --- .github/workflows/release.yml | 5 +++-- package.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66f9311..f6f6ef8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,10 +3,11 @@ name: Release on: pull_request: types: [closed] + workflow_dispatch: jobs: release: - if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' + if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest steps: @@ -22,7 +23,7 @@ jobs: run: npm install - name: Bump version and generate changelog - run: npx standard-version --release-as minor + run: npx standard-version - name: Commit and push changes run: | diff --git a/package.json b/package.json index e40b12a..ffc4091 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "peerwave", - "version": "0.0.6", + "version": "0.0.5", "description": "WebRTC to stream and share files with peers", "main": "server.js", "scripts": {