Skip to content

Commit

Permalink
Merge pull request #15 from simonzander/release
Browse files Browse the repository at this point in the history
edit workflow
  • Loading branch information
simonzander authored Oct 14, 2024
2 parents 840a624 + c6ffa1e commit 7c62760
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 7c62760

Please sign in to comment.