Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 72a373b703 | |||
| 9555d6ea73 |
@@ -1,15 +0,0 @@
|
|||||||
name: Release Git tag
|
|
||||||
description: Release the Git tag
|
|
||||||
|
|
||||||
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 }}
|
|
||||||
@@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -18,6 +19,7 @@ jobs:
|
|||||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.1
|
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
- uses: ./.gitea/actions/release-git-tag
|
prerelease: ${{ github.event_name == 'workflow_dispatch' }}
|
||||||
|
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@0.0.3
|
||||||
with:
|
with:
|
||||||
tag: ${{ steps.tag.outputs.new-tag }}
|
tag: ${{ steps.tag.outputs.new-tag }}
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
name: Prerelease
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
prerelease:
|
|
||||||
name: Prerelease
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Increment tag
|
|
||||||
id: tag
|
|
||||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.1
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
|
||||||
prerelease: true
|
|
||||||
- uses: ./.gitea/actions/release-git-tag
|
|
||||||
with:
|
|
||||||
tag: ${{ steps.tag.outputs.new-tag }}
|
|
||||||
Reference in New Issue
Block a user