create-release-pre #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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= |