Skip to content

chore(release): v4.7.2 #27

chore(release): v4.7.2

chore(release): v4.7.2 #27

Workflow file for this run

name: ⚠️ Release
on:
push:
branches:
- main
paths:
- projects/ng-polymorpheus/**
workflow_dispatch:
inputs:
mode:
type: choice
description: Bump version as requested
required: true
options:
- minor
- patch
- major
jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'chore(release)')"
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/run/[email protected]
with:
ref: ${{ github.ref }}
mode: ${{ github.event.inputs.mode }}
npmToken: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }}
githubToken: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
- id: info
run: |
echo "version=v$(node -p "require('./projects/ng-polymorpheus/package.json').version")" >> $GITHUB_OUTPUT
echo "name=$(node -p "require('./projects/ng-polymorpheus/package.json').name")" >> $GITHUB_OUTPUT
- name: Announce to Telegram
uses: taiga-family/ci/actions/messenger/telegram/[email protected]
with:
chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }}
topicId: ${{ secrets.TAIGA_TELEGRAM_CHAT_THREAD_ID }}
token: ${{ secrets.TAIGA_TELEGRAM_BOT_TOKEN }}
version: ${{ steps.info.outputs.version }}
textLink: ${{ steps.info.outputs.name }}