ci: add prerelease #6
@@ -14,11 +14,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Increment tag
|
- name: Increment tag
|
||||||
id: increment-tag
|
id: tag
|
||||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.0.10
|
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
- name: Push tag
|
- name: Push tag
|
||||||
run: |
|
uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@0.0.1
|
||||||
git tag ${{ steps.increment-tag.outputs.new-tag }}
|
with:
|
||||||
git push origin ${{ steps.increment-tag.outputs.new-tag }}
|
tag: ${{ steps.tag.outputs.new-tag }}
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
name: Prerelease
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
prerelease:
|
||||||
|
name: Prerelease
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v5
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Increment tag
|
||||||
|
id: tag
|
||||||
|
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
prerelease: true
|
||||||
|
- name: Push tag
|
||||||
|
uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@0.0.1
|
||||||
|
with:
|
||||||
|
tag: ${{ steps.tag.outputs.new-tag }}
|
||||||
Reference in New Issue
Block a user