Skip to content

Commit

Permalink
ci: explicitly tag commit as release
Browse files Browse the repository at this point in the history
  • Loading branch information
harrydowning committed Jun 29, 2024
1 parent 78d4018 commit 3c48a5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
release:
runs-on: ubuntu-latest
needs: check
if: github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, '[skip release]')
if: github.ref == 'refs/heads/master' && contains(github.event.head_commit.message, '[release]')
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ Thank you for taking an interest in contributing to this project. All contributi

- Update `VERSION` in `extension.js` and run `node extension.js -dev`
- Update `CHANGELOG.md`
- Merge to master without `[skip release]` in the commit
- Merge to master with `[release]` in the commit title

0 comments on commit 3c48a5c

Please sign in to comment.