Skip to content

refactor(frontend): remove token derived stores from Amount component #521

refactor(frontend): remove token derived stores from Amount component

refactor(frontend): remove token derived stores from Amount component #521

Workflow file for this run

name: Tag and Release on Merge from Release Branch
on:
pull_request:
types: [closed]
branches:
- main
workflow_dispatch:
jobs:
release:
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'chore(release)/v')
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Prepare
uses: ./.github/actions/prepare
- name: Get version from package.json
id: get_version
run: |
version=$(node -p "require('./package.json').version")
echo "Version from package.json: $version"
echo "version=$version" >> $GITHUB_OUTPUT
- name: Create Git tag
run: |
git tag "v${{ steps.get_version.outputs.version }}"
git push origin "v${{ steps.get_version.outputs.version }}"
- name: Draft Release Notes
id: draft_release
uses: release-drafter/release-drafter@v6
with:
version: "v${{ steps.get_version.outputs.version }}"
token: ${{ secrets.GIX_CREATE_PR_PAT }}