Skip to content

chore: update tagging config #137

chore: update tagging config

chore: update tagging config #137

Workflow file for this run

name: Bump tag version, create Sentry release
on:
push:
branches:
- main
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: samgozman
SENTRY_PROJECT: fin-thread
with:
version: ${{ steps.tag_version.outputs.new_tag }}
ignore_empty: true # exit silently if no new commits for a given release have been found
ignore_missing: true # will create a release with the default commits count instead of failing if no commits are found
# TODO: Add a step to create a release later
# - name: Create a GitHub release
# uses: ncipollo/release-action@v1
# with:
# tag: ${{ steps.tag_version.outputs.new_tag }}
# name: Release ${{ steps.tag_version.outputs.new_tag }}
# body: ${{ steps.tag_version.outputs.changelog }}