Skip to content

create-release-pre

create-release-pre #11

name: create-release-pre
on:
workflow_dispatch:
jobs:
create-tag:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
# this is needed if you want the tag push to trigger another workflow
# create a personal token and set a secret with name GH_PERSONAL_TOKEN
# https://github.com/orgs/community/discussions/27028
token: ${{ secrets.GH_PERSONAL_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: Create tag and push to repo
run: |
npx -y monotag@1.26.0 tag-push \
--prerelease \
--git-username="Flávio Stutz" \
--git-email="flaviostutz@gmail.com" \
--prefix=