Skip to content

Commit

Permalink
Fix trigger for release
Browse files Browse the repository at this point in the history
  • Loading branch information
staticdev committed Jan 18, 2025
1 parent 784f1f1 commit 4d7d57c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Release

on:
workflow_dispatch:
inputs:
tags:
description: Release Tag
required: true
type: string
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
release:
Expand Down
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,12 @@ This will allow a chance to talk it over with the owners and validate your appro
<!-- github-only -->

[code of conduct]: CODE_OF_CONDUCT.md

## How to release a new version

Just push a tag starting with v and using semantic versioning. Eg.

```sh
git tag v2.0.0
git push --tags
```

0 comments on commit 4d7d57c

Please sign in to comment.