Skip to content

Commit

Permalink
👷 Update release workflow configuration
Browse files Browse the repository at this point in the history
The release Github workflow is now adjusted to trigger not just on push events to tags but also push events to the main branch. Additionally, the triggering has been refined to only happen specifically on tags that follow the semantic versioning format (v*.*.*).
  • Loading branch information
anxuanzi committed May 6, 2024
1 parent b7d891c commit d053365
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
name: goreleaser

on:
pull_request:
push:
# run only against tags
tags:
- "*"
branches: [ "main" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]

permissions:
contents: write
Expand Down

0 comments on commit d053365

Please sign in to comment.