Skip to content

Commit

Permalink
Merge pull request #719 from staticdev/ci/fix-trigger-for-release
Browse files Browse the repository at this point in the history
Fix trigger for release
  • Loading branch information
staticdev authored Jan 18, 2025
2 parents 784f1f1 + 4d7d57c commit 6cb2b9d
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 6cb2b9d

Please sign in to comment.