Skip to content

Commit

Permalink
feat(build): prefer releasing on tag to releasing on merge to master
Browse files Browse the repository at this point in the history
The former was set up in order to avoid having release branches, but
produces more problems than it solves if multiple people are
contributing to the repository. Instead, only build on tagged release
versions, whatever branch they happen to be in.

In order to ensure random PRs don't trigger releases, tag protection has
now been added to the repo, allowing only admins/maintainers to push
version tags.
  • Loading branch information
TheGiddyLimit committed Nov 9, 2022
1 parent 6836385 commit 8184904
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build and Deploy

on:
push:
branches:
- master
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
build-and-deploy:
Expand Down

0 comments on commit 8184904

Please sign in to comment.