feat: add release-git-tag
This commit is contained in:
9
release-git-tag/README.md
Normal file
9
release-git-tag/README.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# release-git-tag
|
||||
|
||||
Creates and pushes a Git tag to the remote repository.
|
||||
|
||||
```yaml
|
||||
- uses: ./release-git-tag
|
||||
with:
|
||||
tag: v1.0.0
|
||||
```
|
||||
15
release-git-tag/action.yaml
Normal file
15
release-git-tag/action.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Release Git tag
|
||||
description: Releases a Git to origin
|
||||
|
||||
inputs:
|
||||
tag:
|
||||
description: The tag to release
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- shell: bash
|
||||
run: |
|
||||
git tag ${{ inputs.tag }}
|
||||
git push origin ${{ inputs.tag }}
|
||||
Reference in New Issue
Block a user